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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user