projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56d0aa6
)
Fixed SF bug #1204261: Mini space leak when creating an X11 window
author
Sven Panne
<sven.panne@aedion.de>
Thu, 19 May 2005 06:51:03 +0000
(06:51 +0000)
committer
Sven Panne
<sven.panne@aedion.de>
Thu, 19 May 2005 06:51:03 +0000
(06:51 +0000)
(X11 text property values have to be freed after using them)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@614
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_window.c
patch
|
blob
|
history
diff --git
a/src/freeglut_window.c
b/src/freeglut_window.c
index
277fe26
..
5255bb2
100644
(file)
--- a/
src/freeglut_window.c
+++ b/
src/freeglut_window.c
@@
-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 );