aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox/mb-wm-theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'matchbox/mb-wm-theme.c')
-rw-r--r--matchbox/mb-wm-theme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/matchbox/mb-wm-theme.c b/matchbox/mb-wm-theme.c
index 91e112c..c7a8921 100644
--- a/matchbox/mb-wm-theme.c
+++ b/matchbox/mb-wm-theme.c
@@ -97,7 +97,7 @@ mb_wm_theme_destroy (MBWMObject *obj)
MBWMXmlClient * c = l->data;
GList * n = l->next;
mb_wm_xml_client_free (c);
- free (l);
+ g_list_free_1 (l);
l = n;
}
@@ -861,7 +861,7 @@ xml_stack_free (GList *stack)
{
GList * n = l->next;
free (l->data);
- free (l);
+ g_list_free_1 (l);
l = n;
}