Bugfix [#33036] Invalid memory read in wm_handlers_do (valgrind warning)
This commit is contained in:
parent
f4e5404e4a
commit
7b9360e05a
@ -1880,6 +1880,10 @@ static int wm_handlers_do(bContext *C, wmEvent *event, ListBase *handlers)
|
||||
{
|
||||
int action = wm_handlers_do_intern(C, event, handlers);
|
||||
|
||||
/* fileread case */
|
||||
if (CTX_wm_window(C) == NULL)
|
||||
return action;
|
||||
|
||||
if (!ELEM(event->type, MOUSEMOVE, INBETWEEN_MOUSEMOVE) && !ISTIMER(event->type)) {
|
||||
|
||||
/* test for CLICK events */
|
||||
|
Loading…
Reference in New Issue
Block a user