From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Fri, 6 Jun 2025 23:51:56 +0000 (+0200) Subject: view.c: free icon name on view destroy X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=74018495cd2e23d91d0d727a7ac4a7f122dd16a8;p=proto%2Flabwc.git view.c: free icon name on view destroy --- diff --git a/src/view.c b/src/view.c index b9879436..415fe83b 100644 --- a/src/view.c +++ b/src/view.c @@ -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