Browse Source

Fix leak with events mutex in x11 Display Server

PouleyKetchoupp 5 years ago
parent
commit
936c701838
1 changed files with 2 additions and 0 deletions
  1. 2 0
      platform/x11/os_x11.cpp

+ 2 - 0
platform/x11/os_x11.cpp

@@ -870,6 +870,8 @@ void OS_X11::finalize() {
 	if (xmbstring)
 		memfree(xmbstring);
 
+	memdelete(events_mutex);
+
 	args.clear();
 }