mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Fixed memory leak in xsettitle().
This commit is contained in:
parent
86c03ddc82
commit
22eeda56b7
1 changed files with 1 additions and 0 deletions
1
st.c
1
st.c
|
@ -3258,6 +3258,7 @@ xsettitle(char *p) {
|
|||
Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle,
|
||||
&prop);
|
||||
XSetWMName(xw.dpy, xw.win, &prop);
|
||||
XFree(prop.value);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue