summaryrefslogtreecommitdiff
path: root/src/eggfileformatchooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eggfileformatchooser.c')
-rw-r--r--src/eggfileformatchooser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eggfileformatchooser.c b/src/eggfileformatchooser.c
index cd9d4a0..f4d5a4e 100644
--- a/src/eggfileformatchooser.c
+++ b/src/eggfileformatchooser.c
@@ -106,8 +106,7 @@ egg_file_format_filter_info_free (gpointer boxed)
self = boxed;
g_hash_table_unref (self->extension_set);
- g_slist_foreach (self->extension_list, (GFunc) g_free, NULL);
- g_slist_free (self->extension_list);
+ g_slist_free_full (self->extension_list, g_free);
g_free (self->name);
g_free (self);
}