Merge pull request #3830 from orestisfl/i3bar-leak
Fix i3bar leak on handle_destroy_notify
This commit is contained in:
commit
ebb8d89021
|
@ -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);
|
DLOG("Removing tray client with window ID %08x\n", event->window);
|
||||||
TAILQ_REMOVE(output->trayclients, client, tailq);
|
TAILQ_REMOVE(output->trayclients, client, tailq);
|
||||||
|
free(client->class_class);
|
||||||
|
free(client->class_instance);
|
||||||
FREE(client);
|
FREE(client);
|
||||||
|
|
||||||
/* Trigger an update, we now have more space for the statusline */
|
/* Trigger an update, we now have more space for the statusline */
|
||||||
|
|
Loading…
Reference in New Issue