Commit d191ffb4 by Rémi Verschelde

X11: Fix memory leak in handle_key_event

Extracted from #27189.
parent 067c259e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment