From a90eafcedf3ed6962d40baeaaff7eecd987deb94 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 28 Mar 2015 21:55:48 +0000 Subject: plug a leak --- xutil.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xutil.c b/xutil.c index 8cd5d07..4529075 100644 --- a/xutil.c +++ b/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 @@ -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 */ -- cgit v1.2.3-2-gb3c3