x.c: fix memory leak

This commit is contained in:
Michael Stapelberg 2016-01-09 13:13:57 +01:00
parent 71476b03e3
commit ada71471c1
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}