Fix memleak in previous hair commit
This commit is contained in:
parent
c986b07e4d
commit
dbd3bf5ed2
|
@ -603,6 +603,8 @@ void psys_free(Object *ob, ParticleSystem *psys)
|
|||
MEM_freeN(psys->pdd);
|
||||
}
|
||||
|
||||
BKE_particle_batch_cache_free(psys);
|
||||
|
||||
MEM_freeN(psys);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue