When blender is built in debug mode, BLI_mempool_free will ensure address passed to the function actually belongs to this pool.
When blender is built in debug mode, BLI_mempool_free will ensure address passed to the function actually belongs to this pool.