summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2015-03-28 21:55:48 +0000
committerokan <okan>2015-03-28 21:55:48 +0000
commit5b64e1540c01fb9e24dde30e05308be3d4dfc86c (patch)
tree0b616bfecf22da4cfa0257795b141b5a8dba8d81 /xutil.c
parentbad97699f9142838adec5005dc7a44d6b5bb187e (diff)
downloadcwm-5b64e1540c01fb9e24dde30e05308be3d4dfc86c.tar.gz
cwm-5b64e1540c01fb9e24dde30e05308be3d4dfc86c.tar.xz
cwm-5b64e1540c01fb9e24dde30e05308be3d4dfc86c.zip
plug a leak
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xutil.c b/xutil.c
index edc1426..85276ba 100644
--- a/xutil.c
+++ b/xutil.c
@@ -332,6 +332,7 @@ xu_ewmh_net_desktop_names(struct screen_ctx *sc)
 
 	XChangeProperty(X_Dpy, sc->rootwin, ewmh[_NET_DESKTOP_NAMES],
 	    cwmh[UTF8_STRING], 8, PropModeReplace, (unsigned char *)p, len);
+	free(p);
 }
 
 /* Application Window Properties */