Skip to content

Commit

Permalink
Merge pull request #83035 from bitsawer/fix_voxelgi_bake_memory_leak
Browse files Browse the repository at this point in the history
Fix VoxelGI bake memory leak
  • Loading branch information
akien-mga committed Oct 9, 2023
2 parents 1e55eeb + 416ef5a commit 42425ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scene/3d/voxelizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,8 @@ Vector<uint8_t> Voxelizer::get_sdf_3d_image() const {
}
}

memdelete_arr(work_memory);

return image3d;
}

Expand Down

0 comments on commit 42425ba

Please sign in to comment.