From ada71471c13ec8e4abe7c5739bc641746fd5dc42 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 9 Jan 2016 13:13:57 +0100 Subject: [PATCH] x.c: fix memory leak --- src/x.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.5