[Bf-blender-cvs] [20b94257dc3] blender-v2.83-release: Fix part of T76544: dyntopo sculpt undo stack memory leak
Brecht Van Lommel
noreply at git.blender.org
Mon May 18 17:29:14 CEST 2020
Commit: 20b94257dc31f78bebd9c1c9779d0100bda5a58f
Author: Brecht Van Lommel
Date: Mon May 18 17:22:55 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB20b94257dc31f78bebd9c1c9779d0100bda5a58f
Fix part of T76544: dyntopo sculpt undo stack memory leak
===================================================================
M source/blender/editors/sculpt_paint/sculpt_undo.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c
index 90fb0a3e4a2..3d774350110 100644
--- a/source/blender/editors/sculpt_paint/sculpt_undo.c
+++ b/source/blender/editors/sculpt_paint/sculpt_undo.c
@@ -847,6 +847,7 @@ static void sculpt_undo_free_list(ListBase *lb)
sculpt_undo_geometry_free_data(&unode->geometry_original);
sculpt_undo_geometry_free_data(&unode->geometry_modified);
+ sculpt_undo_geometry_free_data(&unode->geometry_bmesh_enter);
if (unode->face_sets) {
MEM_freeN(unode->face_sets);
More information about the Bf-blender-cvs
mailing list