Added cancel callbacks to modal operators which allocates memory
in invoke callback. This prevents unfreed memory blocks when quiting Bledner with modal operator running.
This commit is contained in:
@@ -344,6 +344,7 @@ void GRAPH_OT_select_border(wmOperatorType *ot)
|
||||
ot->invoke= WM_border_select_invoke;
|
||||
ot->exec= graphkeys_borderselect_exec;
|
||||
ot->modal= WM_border_select_modal;
|
||||
ot->cancel= WM_border_select_cancel;
|
||||
|
||||
ot->poll= graphop_visible_keyframes_poll;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user