Fix #120402: memory leak in volume grid handling

The openvdb tree was not freed correctly because the destuctor
of the `shared_ptr` was not run.
This commit is contained in:
Jacques Lucke
2024-04-10 14:10:56 +02:00
parent 86bde1b58b
commit 55cbb9f271

View File

@@ -28,7 +28,7 @@ class OpenvdbTreeSharingInfo : public ImplicitSharingInfo {
void delete_self_with_data() override
{
MEM_freeN(this);
MEM_delete(this);
}
void delete_data_only() override