release the errorHandler

This commit is contained in:
collinalexbell 2024-09-29 01:35:31 +00:00
parent b35641f4a3
commit bf55b32c50

View File

@ -535,6 +535,7 @@ static void detectEWMH(void)
XA_WINDOW, XA_WINDOW,
(unsigned char**) &windowFromChild)) (unsigned char**) &windowFromChild))
{ {
_glfwReleaseErrorHandlerX11();
XFree(windowFromRoot); XFree(windowFromRoot);
return; return;
} }