diff options
-rw-r--r-- | matchbox/mb-wm-client-app.c | 4 | ||||
-rw-r--r-- | matchbox/mb-wm-client-desktop.c | 2 | ||||
-rw-r--r-- | matchbox/mb-wm-client-dialog.c | 2 | ||||
-rw-r--r-- | matchbox/mb-wm-client.c | 2 | ||||
-rw-r--r-- | matchbox/mb-wm-decor.c | 2 | ||||
-rw-r--r-- | matchbox/mb-wm-manager.c | 2 | ||||
-rw-r--r-- | matchbox/mb-wm-object.c | 2 | ||||
-rw-r--r-- | matchbox/mb-wm-theme-xml.c | 4 | ||||
-rw-r--r-- | matchbox/mb-wm-theme.c | 4 |
9 files changed, 12 insertions, 12 deletions
diff --git a/matchbox/mb-wm-client-app.c b/matchbox/mb-wm-client-app.c index 8b98db2..2b16936 100644 --- a/matchbox/mb-wm-client-app.c +++ b/matchbox/mb-wm-client-app.c @@ -175,7 +175,7 @@ mb_wm_client_app_request_geometry (MBWindowManagerClient *client, return True; /* Geometry accepted */ } - + return False; } @@ -190,7 +190,7 @@ mb_wm_client_app_theme_change (MBWindowManagerClient *client) GList * n = l->next; mb_wm_object_unref (MB_WM_OBJECT (d)); - free (l); + g_list_free_1 (l); l = n; } diff --git a/matchbox/mb-wm-client-desktop.c b/matchbox/mb-wm-client-desktop.c index 2219f30..56b4e3b 100644 --- a/matchbox/mb-wm-client-desktop.c +++ b/matchbox/mb-wm-client-desktop.c @@ -155,7 +155,7 @@ mb_wm_client_desktop_theme_change (MBWindowManagerClient *client) GList * n = l->next; mb_wm_object_unref (MB_WM_OBJECT (d)); - free (l); + g_list_free_1 (l); l = n; } diff --git a/matchbox/mb-wm-client-dialog.c b/matchbox/mb-wm-client-dialog.c index aae490d..3bf2f04 100644 --- a/matchbox/mb-wm-client-dialog.c +++ b/matchbox/mb-wm-client-dialog.c @@ -317,7 +317,7 @@ mb_wm_client_dialog_theme_change (MBWindowManagerClient *client) GList * n = l->next; mb_wm_object_unref (MB_WM_OBJECT (d)); - free (l); + g_list_free_1 (l); l = n; } diff --git a/matchbox/mb-wm-client.c b/matchbox/mb-wm-client.c index 13c1964..256867c 100644 --- a/matchbox/mb-wm-client.c +++ b/matchbox/mb-wm-client.c @@ -99,7 +99,7 @@ mb_wm_client_destroy (MBWMObject *obj) l = l->next; - free (l2); + g_list_free_1 (l2); } } diff --git a/matchbox/mb-wm-decor.c b/matchbox/mb-wm-decor.c index 74bf664..fbb8244 100644 --- a/matchbox/mb-wm-decor.c +++ b/matchbox/mb-wm-decor.c @@ -636,7 +636,7 @@ mb_wm_decor_destroy (MBWMObject* obj) GList * old = l; mb_wm_object_unref (MB_WM_OBJECT (l->data)); l = l->next; - free (old); + g_list_free_1 (old); } if (decor->press_cb_id) diff --git a/matchbox/mb-wm-manager.c b/matchbox/mb-wm-manager.c index 1a110ab..082bfcf 100644 --- a/matchbox/mb-wm-manager.c +++ b/matchbox/mb-wm-manager.c @@ -1018,7 +1018,7 @@ mb_wm_manager_remove_event_handler (MBWMManager *wm, next->prev = prev; free (info); - free (l); + g_list_free_1 (l); return; } diff --git a/matchbox/mb-wm-object.c b/matchbox/mb-wm-object.c index 373841e..e6889dc 100644 --- a/matchbox/mb-wm-object.c +++ b/matchbox/mb-wm-object.c @@ -358,7 +358,7 @@ mb_wm_object_signal_disconnect (MBWMObject *obj, mb_wm_object_unref (MB_WM_OBJECT (info->data)); free (info); - free (item); + g_list_free_1 (item); return; } 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; } 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; } |