Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-05-18 18:22:55 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-05-18 18:25:09 +0300
commit20b94257dc31f78bebd9c1c9779d0100bda5a58f (patch)
tree989b15731abd7bcaeb1ed6ecf73b56c59faf6e50 /source/blender/editors/sculpt_paint/sculpt_undo.c
parent9bc7ea549612d7216bb65df671157dd4cdca7726 (diff)
Fix part of T76544: dyntopo sculpt undo stack memory leak
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_undo.c')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_undo.c1
1 files changed, 1 insertions, 0 deletions
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);