]> git.mdlowis.com Git - proto/labwc.git/commitdiff
view.c: free icon name on view destroy
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 6 Jun 2025 23:51:56 +0000 (01:51 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 7 Jun 2025 07:33:22 +0000 (08:33 +0100)
src/view.c

index b9879436b27f6f56394a2d7ec8b32f7bda085d84..415fe83bbeed58ea494a3511ba6c2fd0d16ad772 100644 (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