aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAlexander Sedov <alex0player@gmail.com>2013-07-29 11:50:44 +0400
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2013-08-05 11:45:53 +0200
commit22eeda56b7c1532773343811dee1f76c0999d01c (patch)
treea237682f66eb39215bbd686186095fbfed7fc352 /st.c
parent86c03ddc82d2f9f84f22f79741e13ade0e0b8cd1 (diff)
downloadst-22eeda56b7c1532773343811dee1f76c0999d01c.tar.gz
st-22eeda56b7c1532773343811dee1f76c0999d01c.tar.bz2
Fixed memory leak in xsettitle().
Diffstat (limited to 'st.c')
-rw-r--r--st.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/st.c b/st.c
index b63d865..9cdd969 100644
--- a/st.c
+++ b/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