Blender Git Commit Log

Git Commits -> Revision b292d78

Revision b292d78 by Lukas Toenne (master)
January 20, 2015, 08:30 (GMT)
Separate context freeing from task freeing in threaded particle updates
to prevent double-freeing/invalid mem access.

This can happen with the "virtual parents" feature, which generates both
parent and child paths. Each task free function also freed the shared
context, leading to double freeing.

Commit Details:

Full Hash: b292d783f28958a54f608375e6e99a92be5522d6
Parent Commit: 1727a16
Lines Changed: +18, -12

4 Modified Paths:

/source/blender/blenkernel/BKE_particle.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+13, -12) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021