summaryrefslogtreecommitdiffstats
path: root/platform/x11
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-12-31 10:25:21 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-12-31 10:25:21 -0300
commit586e482a98702055ed7323a3e81c14392233b650 (patch)
treedb598dab3bd8e6777d3cb85be4319d589380a5fd /platform/x11
parentb60a3e72028349493effe26811725d420c7e125b (diff)
downloadredot-engine-586e482a98702055ed7323a3e81c14392233b650.tar.gz
-Fix parsing of comments in VariantParser, fixes #3175
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/os_x11.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/x11/os_x11.cpp b/platform/x11/os_x11.cpp
index 0afab6442b..2ce9b519d1 100644
--- a/platform/x11/os_x11.cpp
+++ b/platform/x11/os_x11.cpp
@@ -447,6 +447,8 @@ void OS_X11::finalize() {
// memdelete(debugger_connection_console);
//}
+ memdelete(input);
+
memdelete(sample_manager);
audio_server->finish();
@@ -464,7 +466,6 @@ void OS_X11::finalize() {
#ifdef JOYDEV_ENABLED
memdelete(joystick);
#endif
- memdelete(input);
XUnmapWindow( x11_display, x11_window );
XDestroyWindow( x11_display, x11_window );