GPencil: Fix memory leak using stroke arrange OP

This commit is contained in:
Julian Eisel 2016-09-18 17:25:12 +02:00
parent 0552d5820b
commit 63b90851ce
1 changed files with 2 additions and 0 deletions

View File

@ -815,6 +815,8 @@ static int gp_stroke_arrange_exec(bContext *C, wmOperator *op)
BLI_assert(0);
break;
}
BLI_freelistN(&selected);
/* notifiers */
WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED, NULL);