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-05-06 08:09:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-05-06 08:09:49 +0300
commite83a8e908341e50f2df333f25bdc92e93d28611b (patch)
tree90418b91373aea692f93f9dcdde24b8eb8069195 /source/blender/editors/mesh/editmesh_select.c
parent0499dbc5c16fe6b276da81d65cade4f5da92a308 (diff)
Fix memory leak in object.mode_set_with_submode
Diffstat (limited to 'source/blender/editors/mesh/editmesh_select.c')
-rw-r--r--source/blender/editors/mesh/editmesh_select.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index 0aeaee57548..6cb103460f6 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -2547,6 +2547,7 @@ bool EDBM_selectmode_set_multi(bContext *C, const short selectmode)
changed = true;
}
}
+ MEM_freeN(objects);
if (changed) {
WM_main_add_notifier(NC_SCENE | ND_TOOLSETTINGS, NULL);