[tracker/tracker-0.10] libtracker-extract: Fixed memory leak in iterate_simple() for XMP data



commit 414f76b53b72761dac93b16c1065471b1e271b7f
Author: Martyn Russell <martyn lanedo com>
Date:   Tue Sep 6 15:33:36 2011 +0100

    libtracker-extract: Fixed memory leak in iterate_simple() for XMP data

 src/libtracker-extract/tracker-xmp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-xmp.c b/src/libtracker-extract/tracker-xmp.c
index 5966f4c..4bc6be3 100644
--- a/src/libtracker-extract/tracker-xmp.c
+++ b/src/libtracker-extract/tracker-xmp.c
@@ -552,6 +552,8 @@ iterate_simple (const gchar    *uri,
                                 current_region->link_class = g_strdup (propname);
                                 current_region->link_uri = g_strdup (value);
                         }
+
+                        g_free (propname);
                 }
         }
 



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