[dev] [st] [PATCH] Fixed memory leak in xsettitle().

From: Alexander Sedov <alex0player_AT_gmail.com>
Date: Mon, 29 Jul 2013 11:50:44 +0400

---
 st.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/st.c b/st.c
index 289ecb8..0b1e97a 100644
--- a/st.c
+++ b/st.c
_AT_@ -3211,6 +3211,7 @@ xsettitle(char *p) {
 	Xutf8TextListToTextProperty(xw.dpy, &p, 1, XUTF8StringStyle,
 			&prop);
 	XSetWMName(xw.dpy, xw.win, &prop);
+	XFree(prop.value);
 }
 
 void
-- 
1.8.3.2
Received on Mon Jul 29 2013 - 09:50:44 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 29 2013 - 10:00:11 CEST