Fix memory leak, closing a window didn't free gestures
Exposed by test file in T71718
This commit is contained in:
@@ -623,6 +623,7 @@ void WM_gesture_straightline_cancel(struct bContext *C, struct wmOperator *op);
|
||||
struct wmGesture *WM_gesture_new(struct bContext *C, const struct wmEvent *event, int type);
|
||||
void WM_gesture_end(struct bContext *C, struct wmGesture *gesture);
|
||||
void WM_gestures_remove(struct bContext *C);
|
||||
void WM_gestures_free_all(struct wmWindow *win);
|
||||
bool WM_gesture_is_modal_first(const struct wmGesture *gesture);
|
||||
|
||||
/* fileselecting support */
|
||||
|
||||
Reference in New Issue
Block a user