From 5ca659853afade8a1a830b916dc6ca3c1a85aaed Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 9 Jan 2016 17:03:29 +0100 Subject: [PATCH] i3bar: fix memory leak --- i3bar/src/xcb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index 5e21e118..60821167 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -1425,6 +1425,8 @@ void init_tray(void) { return; } + free(selreply); + send_tray_clientmessage(); }