[tracker] Fixed potential memory leak



commit 6b96b7418a2b9e9bc1a1fa1b3ad5262797888900
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Sep 8 16:58:41 2009 +0200

    Fixed potential memory leak

 src/tracker-extract/tracker-extract-vorbis.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-vorbis.c b/src/tracker-extract/tracker-extract-vorbis.c
index 532b9f4..90b12d8 100644
--- a/src/tracker-extract/tracker-extract-vorbis.c
+++ b/src/tracker-extract/tracker-extract-vorbis.c
@@ -177,10 +177,10 @@ extract_vorbis (const char *uri,
 		g_free (vorbis_data.title);
 	}
 
-/*	if (vorbis_data.trackcount) {
-		tracker_statement_list_insert (metadata, uri, NMM_PREFIX "albumTrackCount", vorbis_data.trackcount);
+	if (vorbis_data.trackcount) {
+		/* tracker_statement_list_insert (metadata, uri, NMM_PREFIX "albumTrackCount", vorbis_data.trackcount); */
 		g_free (vorbis_data.trackcount);
-	} */
+	} 
 
 	if (vorbis_data.tracknumber) {
 		tracker_statement_list_insert (metadata, uri, NMM_PREFIX "tracknumber", vorbis_data.tracknumber);



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