Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_x
Modified Files:
ecore_x_window_prop.c
Log Message:
plugged another leak
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window_prop.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- ecore_x_window_prop.c 21 Feb 2004 20:44:37 -0000 1.37
+++ ecore_x_window_prop.c 20 Mar 2004 10:16:22 -0000 1.38
@@ -210,7 +210,10 @@
/* Xlib may not like the UTF8 String */
/* ecore_x_window_prop_string_set(win, _ecore_x_atom_wm_name, (char *)t); */
if (XStringListToTextProperty(list, 1, &xprop))
+ {
XSetWMName(_ecore_x_disp, win, &xprop);
+ XFree(xprop.value);
+ }
ecore_x_window_prop_string_set(win, _ecore_x_atom_net_wm_name, (char *)t);
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs