diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-30 09:17:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-30 09:17:04 +0300 |
commit | 36d47ce2035a8eb6912f299e848b487a8431abcd (patch) | |
tree | 481517a9b010e926928e0afc5a4221216661170d /source/blender/bmesh | |
parent | 8b494e03be2adc1be3ba050649e6802748a2bf5b (diff) |
Fix leak in BMesh convex hull operator
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/operators/bmo_hull.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/bmesh/operators/bmo_hull.c b/source/blender/bmesh/operators/bmo_hull.c index fe4a0204335..2dfad5a1f47 100644 --- a/source/blender/bmesh/operators/bmo_hull.c +++ b/source/blender/bmesh/operators/bmo_hull.c @@ -537,6 +537,9 @@ static void hull_from_bullet( } BLI_array_free(fvi); + + plConvexHullDelete(hull); + MEM_freeN(hull_verts); MEM_freeN(coords); MEM_freeN(input_verts); |