Fix part of T76544: dyntopo sculpt undo stack memory leak

This commit is contained in:
Brecht Van Lommel 2020-05-18 17:22:55 +02:00
parent 9bc7ea5496
commit 20b94257dc
Notes: blender-bot 2023-02-14 08:29:54 +01:00
Referenced by issue #76544, Sculpt mode drawing leaks memory
1 changed files with 1 additions and 0 deletions

View File

@ -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);