JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
plug memleak
authorDavid Hill <dhill@conformal.com>
Fri, 20 Jul 2012 20:32:57 +0000 (16:32 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 22:00:04 +0000 (06:00 +0800)
spectrwm.c

index 44de9d9..4f171bb 100644 (file)
@@ -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),