From: Michael Stapelberg Date: Sat, 9 Jan 2016 16:03:29 +0000 (+0100) Subject: i3bar: fix memory leak X-Git-Tag: 4.12~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5ca659853afade8a1a830b916dc6ca3c1a85aaed;p=i3%2Fi3 i3bar: fix memory leak --- 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(); }