Fixed SF bug #1204261: Mini space leak when creating an X11 window
(X11 text property values have to be freed after using them) git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@614 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
83dcd8b899
commit
cea3641a13
@ -462,6 +462,7 @@ void fgOpenWindow( SFG_Window* window, const char* title,
|
||||
&wmHints,
|
||||
NULL
|
||||
);
|
||||
XFree( textProperty.value );
|
||||
|
||||
XSetWMProtocols( fgDisplay.Display, window->Window.Handle,
|
||||
&fgDisplay.DeleteWindow, 1 );
|
||||
|
Reference in New Issue
Block a user