rcxml.c: keep zfree(string) calls together to ease detecting missing ones

This commit is contained in:
Consolatis 2024-11-16 00:48:45 +01:00 committed by Johan Malm
parent 5c9cae71cd
commit ec271dcd57

View file

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