diff options
author | rbuj <[email protected]> | 2020-11-25 13:55:41 +0100 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2020-12-11 10:40:04 -0500 |
commit | 69c70e1d2279f835901a144acc87a50147bcf927 (patch) | |
tree | 3da2102db381536942273ef393871f2d5bf0b047 /libwindow-settings/mate-wm-manager.c | |
parent | 614af3e048be34e5c67792410709f470b420a28f (diff) | |
download | mate-control-center-69c70e1d2279f835901a144acc87a50147bcf927.tar.bz2 mate-control-center-69c70e1d2279f835901a144acc87a50147bcf927.tar.xz |
mate-wm-manager: Use g_list_free_full
Diffstat (limited to 'libwindow-settings/mate-wm-manager.c')
-rw-r--r-- | libwindow-settings/mate-wm-manager.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libwindow-settings/mate-wm-manager.c b/libwindow-settings/mate-wm-manager.c index 457d8c0d..ce622b04 100644 --- a/libwindow-settings/mate-wm-manager.c +++ b/libwindow-settings/mate-wm-manager.c @@ -198,8 +198,7 @@ scan_wm_directory (const gchar *directory, gboolean is_user) tmp_list = tmp_list->next; } - g_list_foreach (files, (GFunc) g_free, NULL); - g_list_free (files); + g_list_free_full (files, g_free); } void |