Blender Git Commit Log

Git Commits -> Revision bdf24b7

January 19, 2015, 19:25 (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: bdf24b7f4f87ceafc965e0ff3fd24e953ec6de89
Parent Commit: 291a259
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