mirror of
https://github.com/glfw/glfw.git
synced 2024-11-11 04:53:50 +00:00
X11: Free the error handle whern returing early in detectEWMH
This commit is contained in:
parent
b35641f4a3
commit
f064f92aea
@ -535,6 +535,7 @@ static void detectEWMH(void)
|
||||
XA_WINDOW,
|
||||
(unsigned char**) &windowFromChild))
|
||||
{
|
||||
_glfwReleaseErrorHandlerX11();
|
||||
XFree(windowFromRoot);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user