[tracker] Plug leak in JPEG extractor.



commit 463a7a3528701105a85981fac9e72658da4516e9
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jun 29 16:12:13 2010 +0200

    Plug leak in JPEG extractor.

 src/tracker-extract/tracker-extract-jpeg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-jpeg.c b/src/tracker-extract/tracker-extract-jpeg.c
index 9d23adb..2c8d4bf 100644
--- a/src/tracker-extract/tracker-extract-jpeg.c
+++ b/src/tracker-extract/tracker-extract-jpeg.c
@@ -603,6 +603,7 @@ extract_jpeg (const gchar          *uri,
 	tracker_exif_free (ed);
 	tracker_xmp_free (xd);
 	tracker_iptc_free (id);
+	g_free (comment);
 
 fail:
 	tracker_file_close (f, FALSE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]