Client: Remove free in client_get_name

This commit is contained in:
Martin Duquesnoy 2010-05-08 19:26:55 +02:00
parent c524326714
commit 6ecc58bdb1

View File

@ -388,8 +388,6 @@ client_get_name(Client *c)
int rf;
ulong ir, il;
IFREE(c->title);
/* This one instead XFetchName for utf8 name support */
if(XGetWindowProperty(dpy, c->win, net_atom[net_wm_name], 0, 4096,
False, net_atom[utf8_string], &rt, &rf, &ir, &il, (uchar**)&c->title) != Success)