[Bf-blender-cvs] [eece95823c1] functions: multipool tried to deallocate the wrong pointer
Jacques Lucke
noreply at git.blender.org
Sat Apr 27 13:25:47 CEST 2019
Commit: eece95823c110d826caa1249171f2f6de11e75ca
Author: Jacques Lucke
Date: Sat Apr 27 12:55:07 2019 +0200
Branches: functions
https://developer.blender.org/rBeece95823c110d826caa1249171f2f6de11e75ca
multipool tried to deallocate the wrong pointer
===================================================================
M source/blender/blenlib/BLI_multipool.hpp
===================================================================
diff --git a/source/blender/blenlib/BLI_multipool.hpp b/source/blender/blenlib/BLI_multipool.hpp
index 0d16a52a5a8..36f6cfb3817 100644
--- a/source/blender/blenlib/BLI_multipool.hpp
+++ b/source/blender/blenlib/BLI_multipool.hpp
@@ -54,7 +54,7 @@ class MemMultiPool {
BLI_assert(m_pools.contains(alloc_size));
MemPool *pool = m_pools.lookup(alloc_size);
- pool->deallocate(ptr);
+ pool->deallocate(real_ptr);
}
};
More information about the Bf-blender-cvs
mailing list