diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-09-26 00:05:36 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-09-26 01:18:30 +0300 |
commit | ebe955b1c8c5a650c70e906c0f610fa83a0782f3 (patch) | |
tree | e19f94a5fd48cfabecfa1adb1e3cd860c0839232 /source/blender/editors/mesh/editmesh_select.c | |
parent | 5a6b46f0ca2240f852597d047d3757ecde84c5fa (diff) |
Fix memleak on edbm_select_linked_pick_invoke
Issue introduced on 549ac6ddebef.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_select.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_select.c | 1 |
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 311df0a54c6..e335c1971f9 100644 --- a/source/blender/editors/mesh/editmesh_select.c +++ b/source/blender/editors/mesh/editmesh_select.c @@ -3192,6 +3192,7 @@ static int edbm_select_linked_pick_invoke(bContext *C, wmOperator *op, const wmE DEG_id_tag_update(basact->object->data, DEG_TAG_SELECT_UPDATE); WM_event_add_notifier(C, NC_GEOM | ND_SELECT, basact->object->data); + MEM_freeN(bases); return OPERATOR_FINISHED; } |