[tracker] Fixed memory leak in tagreadbin extractor
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Fixed memory leak in tagreadbin extractor
- Date: Mon, 8 Jun 2009 05:59:32 -0400 (EDT)
commit d320cb45885ec57e88fdf2817c64182593e72339
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Jun 8 11:59:42 2009 +0200
Fixed memory leak in tagreadbin extractor
---
src/tracker-extract/tracker-extract-gstreamer.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 3713133..21f4a6f 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -919,6 +919,9 @@ tracker_extract_gstreamer (const gchar *uri,
#endif /* HAVE_GDKPIXBUF */
}
+ g_free (scount);
+ g_free (album);
+
gst_element_set_state (extractor->pipeline, GST_STATE_NULL);
gst_element_get_state (extractor->pipeline, NULL, NULL, TRACKER_EXTRACT_GUARD_TIMEOUT* GST_SECOND);
gst_object_unref (extractor->bus);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]