aboutsummaryrefslogtreecommitdiff
path: root/src/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connect.c')
-rw-r--r--src/connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connect.c b/src/connect.c
index 054153d..9e709af 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -253,6 +253,7 @@ static gboolean source_dispatch(GSource *source, GSourceFunc callback, gpointer
extension ? extension : "none");
}
}
+ g_free(xsource->event);
} while ((xsource->event = xcb_poll_for_event(xsource->con->connection)) != NULL);
return G_SOURCE_CONTINUE;