fix for leak in cloth modifier
authorCampbell Barton <ideasman42@gmail.com>
Sat, 24 Aug 2013 14:32:43 +0000 (14:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 24 Aug 2013 14:32:43 +0000 (14:32 +0000)
commit8811e521c06c0b057f0a6308051fa2e106eeafc1
tree18a729c3f84e0621f020cee971e5ab61318414bb
parentba4d8762fe61b3edbe55fef7ba2faaad8709d49d
fix for leak in cloth modifier
- any error in cloth_build_springs wasn't freeing the edge-hash.
- was checking BLI_edgehash_haskey on matching vertices.
- was looping over setting NULL for all elements of a calloc'd array.
source/blender/blenkernel/intern/cloth.c