[Bf-blender-cvs] [b264f61] master: Fix incorrect ghash free

Campbell Barton noreply at git.blender.org
Sun Apr 20 20:03:14 CEST 2014


Commit: b264f613df91855fcff3d624195087c3c2b29f30
Author: Campbell Barton
Date:   Mon Apr 21 04:00:35 2014 +1000
https://developer.blender.org/rBb264f613df91855fcff3d624195087c3c2b29f30

Fix incorrect ghash free

===================================================================

M	source/blender/editors/sculpt_paint/sculpt_uv.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt_uv.c b/source/blender/editors/sculpt_paint/sculpt_uv.c
index d47840d..d02bd73 100644
--- a/source/blender/editors/sculpt_paint/sculpt_uv.c
+++ b/source/blender/editors/sculpt_paint/sculpt_uv.c
@@ -672,7 +672,7 @@ static UvSculptData *uv_sculpt_stroke_init(bContext *C, wmOperator *op, const wm
 				MEM_freeN(uniqueUv);
 			}
 			if (edgeHash) {
-				MEM_freeN(edgeHash);
+				BLI_ghash_free(edgeHash, NULL, NULL);
 			}
 			uv_sculpt_stroke_exit(C, op);
 			return NULL;




More information about the Bf-blender-cvs mailing list