Selaa lähdekoodia

Fix leak with events mutex in x11 Display Server

PouleyKetchoupp 5 vuotta sitten
vanhempi
commit
936c701838
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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();
 }