pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c03dd
)
Fixed memory leak in xsettitle().
author
Alexander Sedov
<alex0player@gmail.com>
Mon, 29 Jul 2013 07:50:44 +0000
(11:50 +0400)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 5 Aug 2013 09:45:53 +0000
(11:45 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
b63d865
..
9cdd969
100644
(file)
--- 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