Fixed memory leak in xsettitle().

This commit is contained in:
Alexander Sedov 2013-07-29 11:50:44 +04:00 committed by Roberto E. Vargas Caballero
parent 86c03ddc82
commit 22eeda56b7

1
st.c
View File

@ -3258,6 +3258,7 @@ xsettitle(char *p) {
Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle,
&prop);
XSetWMName(xw.dpy, xw.win, &prop);
XFree(prop.value);
}
void