Browse Source

Fixed memory leak in xsettitle().

master
Alexander Sedov 11 years ago
committed by Roberto E. Vargas Caballero
parent
commit
22eeda56b7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      st.c

+ 1
- 0
st.c View File

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


Loading…
Cancel
Save