aboutsummaryrefslogtreecommitdiff
path: root/i3bar
diff options
context:
space:
mode:
authorOrestis Floros <orestisflo@gmail.com>2019-10-14 17:34:22 +0300
committerOrestis Floros <orestisflo@gmail.com>2019-10-14 17:34:38 +0300
commit33634fbacdbf64b6ba1df2026f73b4e67c910667 (patch)
tree5d4e285980a49073cbcac380f54ccec4cbcd7a15 /i3bar
parenta638e0408ea8bbc684c602f716834da083ebf895 (diff)
downloadi3-33634fbacdbf64b6ba1df2026f73b4e67c910667.tar.gz
i3-33634fbacdbf64b6ba1df2026f73b4e67c910667.zip
Fix i3bar leak on handle_destroy_notify
Diffstat (limited to 'i3bar')
-rw-r--r--i3bar/src/xcb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c
index ad9745fb..6b135e44 100644
--- a/i3bar/src/xcb.c
+++ b/i3bar/src/xcb.c
@@ -999,6 +999,8 @@ static void handle_destroy_notify(xcb_destroy_notify_event_t *event) {
DLOG("Removing tray client with window ID %08x\n", event->window);
TAILQ_REMOVE(output->trayclients, client, tailq);
+ free(client->class_class);
+ free(client->class_instance);
FREE(client);
/* Trigger an update, we now have more space for the statusline */