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:
authorCampbell Barton <ideasman42@gmail.com>2021-08-20 08:08:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-20 08:08:27 +0300
commitce3a6d7989387153911296e44ad00da3195f7299 (patch)
treebc8898b69ebec774a434f34cf5ce706936053e62 /source/blender/editors/mesh/editmesh_undo.c
parent44b25b0ea5f415ea320cec1301dafa1523fb3ba4 (diff)
Cleanup: rename BKE_mesh_free -> BKE_mesh_free_data
It wasn't obvious this didn't free the memory of the mesh it's self leading to memory leaks.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_undo.c')
-rw-r--r--source/blender/editors/mesh/editmesh_undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_undo.c b/source/blender/editors/mesh/editmesh_undo.c
index fc9e1aa8b1a..acf9e6c2d55 100644
--- a/source/blender/editors/mesh/editmesh_undo.c
+++ b/source/blender/editors/mesh/editmesh_undo.c
@@ -759,7 +759,7 @@ static void undomesh_free_data(UndoMesh *um)
MEM_freeN(me->key);
}
- BKE_mesh_free(me);
+ BKE_mesh_free_data(me);
}
static Object *editmesh_object_from_context(bContext *C)