view.c: free icon name on view destroy

This commit is contained in:
Consolatis 2025-06-07 01:51:56 +02:00 committed by Johan Malm
parent 4d79f0057f
commit 74018495cd

View file

@ -2595,6 +2595,7 @@ view_destroy(struct view *view)
if (view->icon.buffers.data) {
view_set_icon(view, NULL, NULL);
}
zfree(view->icon.name);
/*
* The layer-shell top-layer is disabled when an application is running