Fix i3bar leak on handle_destroy_notify

next
Orestis Floros 2019-10-14 17:34:22 +03:00
parent a638e0408e
commit 33634fbacd
No known key found for this signature in database
GPG Key ID: A09DBD7D3222C1C3
1 changed files with 2 additions and 0 deletions

View File

@ -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 */