plugged another leak

SVN revision: 9402
This commit is contained in:
tsauerbeck 2004-03-20 10:16:22 +00:00 committed by tsauerbeck
parent 34e3b8f092
commit 81ac2fa928
1 changed files with 3 additions and 0 deletions

View File

@ -210,7 +210,10 @@ ecore_x_window_prop_title_set(Ecore_X_Window win, const char *t)
/* 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);
}