From: David Hill Date: Fri, 20 Jul 2012 20:32:57 +0000 (-0400) Subject: plug memleak X-Git-Tag: SPECTRWM_1_2_0~32 X-Git-Url: https://code.delx.au/spectrwm/commitdiff_plain/4f722a6f9afee06b802d77cd1da824a055d170c9 plug memleak --- 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),