diff options
author | Scott Balneaves <[email protected]> | 2017-03-22 09:12:58 -0500 |
---|---|---|
committer | Scott Balneaves <[email protected]> | 2017-03-22 09:12:58 -0500 |
commit | f62c22e8a3521f47e6517d4414d032c7bd3b4c24 (patch) | |
tree | 6ad9eaaa8919cd53eb921afeec722e1ecba73a81 /src/eom-uri-converter.c | |
parent | db8294447da0081a26efa618d6ff6158378e5b2f (diff) | |
download | eom-f62c22e8a3521f47e6517d4414d032c7bd3b4c24.tar.bz2 eom-f62c22e8a3521f47e6517d4414d032c7bd3b4c24.tar.xz |
eom_uri_converter: GList leak fix: cribbed from https://git.gnome.org/browse/eog/commit/?id=04859efbcde4ae38f9f35818dc586a9088b09cb0
Diffstat (limited to 'src/eom-uri-converter.c')
-rw-r--r-- | src/eom-uri-converter.c | 9 |
1 files changed, 9 insertions, 0 deletions
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; } |