diff options
author | Orestis Floros <orestisflo@gmail.com> | 2019-10-14 17:34:22 +0300 |
---|---|---|
committer | Orestis Floros <orestisflo@gmail.com> | 2019-10-14 17:34:38 +0300 |
commit | 33634fbacdbf64b6ba1df2026f73b4e67c910667 (patch) | |
tree | 5d4e285980a49073cbcac380f54ccec4cbcd7a15 /i3bar | |
parent | a638e0408ea8bbc684c602f716834da083ebf895 (diff) | |
download | i3-33634fbacdbf64b6ba1df2026f73b4e67c910667.tar.gz i3-33634fbacdbf64b6ba1df2026f73b4e67c910667.zip |
Fix i3bar leak on handle_destroy_notify
Diffstat (limited to 'i3bar')
-rw-r--r-- | i3bar/src/xcb.c | 2 |
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 */ |