Fix memleak in previous hair commit

This commit is contained in:
Luca Rood 2017-05-12 16:33:38 +02:00
parent c986b07e4d
commit dbd3bf5ed2
1 changed files with 2 additions and 0 deletions

View File

@ -603,6 +603,8 @@ void psys_free(Object *ob, ParticleSystem *psys)
MEM_freeN(psys->pdd);
}
BKE_particle_batch_cache_free(psys);
MEM_freeN(psys);
}
}