Fix memory leak in armature delete

This commit is contained in:
Campbell Barton
2018-05-22 08:20:19 +02:00
parent ee1327a84c
commit c7903f17a2

View File

@@ -1373,6 +1373,7 @@ static int armature_delete_selected_exec(bContext *C, wmOperator *UNUSED(op))
WM_event_add_notifier(C, NC_OBJECT | ND_BONE_SELECT, obedit);
}
}
MEM_freeN(objects);
if (!changed_multi) {
return OPERATOR_CANCELLED;