From fbf7fe41bd7dd1714c85ba6e70b4147dfb544670 Mon Sep 17 00:00:00 2001 From: Sven Panne Date: Thu, 19 May 2005 06:51:03 +0000 Subject: [PATCH] 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@614 7f0cb862-5218-0410-a997-914c9d46530a --- src/freeglut_window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freeglut_window.c b/src/freeglut_window.c index 277fe26..5255bb2 100644 --- 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 ); -- 1.7.10.4