diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-25 02:44:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-25 02:44:48 +0400 |
commit | 75a4832af3cf1c5edb23f9816b290d6c5f61a64c (patch) | |
tree | 7d18f8384b9219300a42f5a357ddd4a8f17c13b1 /source/blender/blenkernel | |
parent | 3f31145d2971d973d401878e9223de44ef3952fe (diff) | |
parent | 1aadbdedc748c1bc63b1ffa25793858a06c4ba21 (diff) |
svn merge ^/trunk/blender -r43676:43685
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index 7e69e67fca7..69ddcd21cb9 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -1127,6 +1127,9 @@ static int distribute_threads_init_data(ParticleThread *threads, Scene *scene, D fprintf(stderr,"Particle distribution error: Nothing to emit from!\n"); if(dm != finaldm) dm->release(dm); + + BLI_kdtree_free(tree); + return 0; } |