From: Michael Stapelberg Date: Sat, 9 Jan 2016 12:13:57 +0000 (+0100) Subject: x.c: fix memory leak X-Git-Tag: 4.12~52 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ada71471c13ec8e4abe7c5739bc641746fd5dc42;p=i3%2Fi3 x.c: fix memory leak --- diff --git a/src/x.c b/src/x.c index a5aca55b..a14c25fa 100644 --- a/src/x.c +++ b/src/x.c @@ -1080,6 +1080,8 @@ void x_push_changes(Con *con) { xcb_warp_pointer(conn, XCB_NONE, root, 0, 0, 0, 0, mid_x, mid_y); xcb_change_window_attributes(conn, root, XCB_CW_EVENT_MASK, (uint32_t[]){ROOT_EVENT_MASK}); } + + free(pointerreply); } warp_to = NULL; }