From 22eeda56b7c1532773343811dee1f76c0999d01c Mon Sep 17 00:00:00 2001 From: Alexander Sedov Date: Mon, 29 Jul 2013 11:50:44 +0400 Subject: Fixed memory leak in xsettitle(). --- st.c | 1 + 1 file changed, 1 insertion(+) (limited to 'st.c') 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 -- cgit v1.2.3-13-gbd6f