From 783922a002fb0d67f4b5598a362e4ba0f23a9769 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 26 Nov 2020 10:07:46 +0100 Subject: caja-file-management-properties: use g_list_free_full --- src/caja-file-management-properties.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/caja-file-management-properties.c') diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c index b9c8d1d4..6e6bb4f2 100644 --- a/src/caja-file-management-properties.c +++ b/src/caja-file-management-properties.c @@ -813,8 +813,7 @@ caja_file_management_properties_dialog_setup_media_page (GtkBuilder *builder) skip: ; } - g_list_foreach (content_types, (GFunc) g_free, NULL); - g_list_free (content_types); + g_list_free_full (content_types, g_free); gtk_combo_box_set_model (GTK_COMBO_BOX (other_type_combo_box), GTK_TREE_MODEL (other_type_list_store)); -- cgit v1.2.1