Merge pull request #33555 from akien-mga/x11-memleak-utf8string
X11: Fix memory leak in handle_key_event
This commit is contained in:
commit
1d0bd3eb71
|
@ -1866,6 +1866,7 @@ void OS_X11::handle_key_event(XKeyEvent *p_event, bool p_echo) {
|
||||||
|
|
||||||
input->accumulate_input_event(k);
|
input->accumulate_input_event(k);
|
||||||
}
|
}
|
||||||
|
memfree(utf8string);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
memfree(utf8string);
|
memfree(utf8string);
|
||||||
|
|
Loading…
Reference in New Issue