summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2017-03-22 09:12:58 -0500
committerScott Balneaves <[email protected]>2017-03-22 09:12:58 -0500
commitf62c22e8a3521f47e6517d4414d032c7bd3b4c24 (patch)
tree6ad9eaaa8919cd53eb921afeec722e1ecba73a81 /src
parentdb8294447da0081a26efa618d6ff6158378e5b2f (diff)
downloadeom-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')
-rw-r--r--src/eom-uri-converter.c9
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;
}