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);
   }
 };

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to