From f62c22e8a3521f47e6517d4414d032c7bd3b4c24 Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Wed, 22 Mar 2017 09:12:58 -0500 Subject: eom_uri_converter: GList leak fix: cribbed from https://git.gnome.org/browse/eog/commit/?id=04859efbcde4ae38f9f35818dc586a9088b09cb0 --- src/eom-uri-converter.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/eom-uri-converter.c b/src/eom-uri-converter.c index 452a19b..e4e350d 100644 --- a/src/eom-uri-converter.c +++ b/src/eom-uri-converter.c @@ -943,6 +943,13 @@ eom_uri_converter_requires_exif (EomURIConverter *converter) return converter->priv->requires_exif; } +/** + * eog_uri_converter_check: + * @converter: a #EogURIConverter + * @img_list: (element-type GFile): a #Gfile list + * @error: a #GError location to store the error occurring, or NULL to ignore + */ + gboolean eom_uri_converter_check (EomURIConverter *converter, GList *img_list, GError **error) { @@ -984,5 +991,7 @@ eom_uri_converter_check (EomURIConverter *converter, GList *img_list, GError **e _("At least two file names are equal.")); } + g_list_free (file_list); + return all_different; } -- cgit v1.2.1