diff options
author | Luca Rood <dev@lucarood.com> | 2017-05-12 17:33:38 +0300 |
---|---|---|
committer | Luca Rood <dev@lucarood.com> | 2017-05-12 17:34:33 +0300 |
commit | dbd3bf5ed23f7182ed9435ac4b37b21b63de4cb9 (patch) | |
tree | 49d014a77e86d1f30ab33e1c357633d7530559df /source/blender/blenkernel/intern/particle.c | |
parent | c986b07e4dd88bdf93864c597a287334852a03e8 (diff) |
Fix memleak in previous hair commit
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index 71257fdc4b4..57e80c10a77 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -603,6 +603,8 @@ void psys_free(Object *ob, ParticleSystem *psys) MEM_freeN(psys->pdd); } + BKE_particle_batch_cache_free(psys); + MEM_freeN(psys); } } |