From 4f722a6f9afee06b802d77cd1da824a055d170c9 Mon Sep 17 00:00:00 2001 From: David Hill Date: Fri, 20 Jul 2012 16:32:57 -0400 Subject: [PATCH] plug memleak --- spectrwm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/spectrwm.c b/spectrwm.c index 44de9d9..4f171bb 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -4561,6 +4561,7 @@ move(struct ws_win *win, union arg *args) xcb_close_font(conn, cursor_font); return; } + free(gpr); /* get cursor offset from window root */ qpr = xcb_query_pointer_reply(conn, xcb_query_pointer(conn, win->id), -- 1.7.10.4