Browse Source

Fix leak with events mutex in x11 Display Server

PouleyKetchoupp 5 năm trước cách đây
mục cha
commit
936c701838
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();
 }