[gimp/metadata-wip-rebased] libgimpbase: fix memleak
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-wip-rebased] libgimpbase: fix memleak
- Date: Sat, 26 Oct 2013 22:29:19 +0000 (UTC)
commit b1893ade1e9df98199c7384458932c045ff611c1
Author: Michael Natterer <mitch gimp org>
Date: Sun Oct 27 00:28:49 2013 +0200
libgimpbase: fix memleak
libgimpbase/gimpmetadata.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libgimpbase/gimpmetadata.c b/libgimpbase/gimpmetadata.c
index e178f3c..c2b8f3e 100644
--- a/libgimpbase/gimpmetadata.c
+++ b/libgimpbase/gimpmetadata.c
@@ -520,6 +520,7 @@ gimp_metadata_set_from_exif (GimpMetadata *metadata,
g_set_error (error, gimp_metadata_error_quark (), 0,
_("Parsing EXIF data failed."));
g_object_unref (exif_metadata);
+ g_byte_array_free (exif_bytes, TRUE);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]