Merge pull request #83035 from bitsawer/fix_voxelgi_bake_memory_leak

Fix VoxelGI bake memory leak
This commit is contained in:
Rémi Verschelde 2023-10-09 15:40:38 +02:00
commit 42425baa59
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

View File

@ -884,6 +884,8 @@ Vector<uint8_t> Voxelizer::get_sdf_3d_image() const {
}
}
memdelete_arr(work_memory);
return image3d;
}