summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2015-03-28 21:55:49 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2015-03-28 21:55:49 +0000
commitbc6f3e6149b9ab2d56ebfb073a839bd040f2879b (patch)
treeb89ad8893569897dea3d3b62d58bef08d7a9e543 /app
parent64d32b863662e4478e4b6f16df777dad35163e59 (diff)
plug a leak
Diffstat (limited to 'app')
-rw-r--r--app/cwm/xutil.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/cwm/xutil.c b/app/cwm/xutil.c
index 8cd5d0725..45290751a 100644
--- a/app/cwm/xutil.c
+++ b/app/cwm/xutil.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xutil.c,v 1.97 2015/01/19 14:54:16 okan Exp $
+ * $OpenBSD: xutil.c,v 1.98 2015/03/28 21:55:48 okan Exp $
*/
#include <sys/types.h>
@@ -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 */