X11: Fix memory leak in handle_key_event

Extracted from #27189.
This commit is contained in:
Rémi Verschelde 2019-11-12 07:51:51 +01:00
parent 067c259ef1
commit d191ffb47d
1 changed files with 1 additions and 0 deletions

View File

@ -1866,6 +1866,7 @@ void OS_X11::handle_key_event(XKeyEvent *p_event, bool p_echo) {
input->accumulate_input_event(k);
}
memfree(utf8string);
return;
}
memfree(utf8string);