]> git.sur5r.net Git - i3/i3/commitdiff
Forgot free(event)
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 17:34:55 +0000 (19:34 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 17:34:55 +0000 (19:34 +0200)
src/xcb.c

index 4497338b29af0554eeb11cfd1abf1963aed98260..2c194013b09172d2fc784c11dfc3362569e053fe 100644 (file)
--- a/src/xcb.c
+++ b/src/xcb.c
@@ -234,6 +234,7 @@ void send_take_focus(xcb_window_t window) {
 
     DLOG("Sending WM_TAKE_FOCUS to the client\n");
     xcb_send_event(conn, false, window, XCB_EVENT_MASK_NO_EVENT, (char*)ev);
+    free(event);
 }
 
 /*