]> git.mdlowis.com Git - proto/labwc.git/commitdiff
rcxml.c: keep zfree(string) calls together to ease detecting missing ones
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 15 Nov 2024 23:48:45 +0000 (00:48 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 16 Nov 2024 22:13:17 +0000 (22:13 +0000)
src/config/rcxml.c

index 41b93a4caf41e4daaebcd056925c2bf1249fd430..84708664bf7cf05087401b42ec9a08e9abe6a92e 100644 (file)
@@ -1920,6 +1920,7 @@ rcxml_finish(void)
        zfree(rc.theme_name);
        zfree(rc.icon_theme_name);
        zfree(rc.workspace_config.prefix);
+       zfree(rc.tablet.output_name);
 
        struct title_button *p, *p_tmp;
        wl_list_for_each_safe(p, p_tmp, &rc.title_buttons_left, link) {
@@ -1960,8 +1961,6 @@ rcxml_finish(void)
                zfree(touch_config);
        }
 
-       zfree(rc.tablet.output_name);
-
        struct libinput_category *l, *l_tmp;
        wl_list_for_each_safe(l, l_tmp, &rc.libinput_categories, link) {
                wl_list_remove(&l->link);