diff options
Diffstat (limited to 'matchbox/mb-wm-theme-xml.c')
-rw-r--r-- | matchbox/mb-wm-theme-xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matchbox/mb-wm-theme-xml.c b/matchbox/mb-wm-theme-xml.c index 6407653..49562d4 100644 --- a/matchbox/mb-wm-theme-xml.c +++ b/matchbox/mb-wm-theme-xml.c @@ -66,7 +66,7 @@ mb_wm_xml_decor_free (MBWMXmlDecor * d) MBWMXmlButton * b = l->data; GList * n = l->next; mb_wm_xml_button_free (b); - free (l); + g_list_free_1 (l); l = n; } @@ -104,7 +104,7 @@ mb_wm_xml_client_free (MBWMXmlClient * c) MBWMXmlDecor * d = l->data; GList * n = l->next; mb_wm_xml_decor_free (d); - free (l); + g_list_free_1 (l); l = n; } |