[Gridflow-cvs] [svn] commit: r4647 - /trunk/src/x11.cxx

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Nov 1 19:12:42 EST 2009


Author: matju
Date: Sun Nov  1 19:12:42 2009
New Revision: 4647

Log:
fixed tiny leak in set_wm_hints()

Modified:
    trunk/src/x11.cxx

Modified: trunk/src/x11.cxx
==============================================================================
--- trunk/src/x11.cxx (original)
+++ trunk/src/x11.cxx Sun Nov  1 19:12:42 2009
@@ -280,6 +280,7 @@
 	wmh.input = True;
 	wmh.flags = InputHint;
 	XSetWMProperties(display,window,&wtitle,&wtitle,0,0,&sh,&wmh,0);
+	XFree(wtitle.value); // do i really have to do that?
 }
 
 void FormatX11::report_pointer(int y, int x, int state) {



More information about the Gridflow-cvs mailing list