tFixed memory leak in xsettitle(). - st - [fork] customized build of st, the si… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 22eeda56b7c1532773343811dee1f76c0999d01c | |
parent 86c03ddc82d2f9f84f22f79741e13ade0e0b8cd1 | |
Author: Alexander Sedov <[email protected]> | |
Date: Mon, 29 Jul 2013 11:50:44 +0400 | |
Fixed memory leak in xsettitle(). | |
Diffstat: | |
M st.c | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -3258,6 +3258,7 @@ xsettitle(char *p) { | |
Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle, | |
&prop); | |
XSetWMName(xw.dpy, xw.win, &prop); | |
+ XFree(prop.value); | |
} | |
void |