diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-05-18 18:22:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-05-18 18:25:09 +0300 |
commit | 20b94257dc31f78bebd9c1c9779d0100bda5a58f (patch) | |
tree | 989b15731abd7bcaeb1ed6ecf73b56c59faf6e50 /source/blender/editors/sculpt_paint | |
parent | 9bc7ea549612d7216bb65df671157dd4cdca7726 (diff) |
Fix part of T76544: dyntopo sculpt undo stack memory leak
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 1 |
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); |