[tracker] Fixed another bugfix related to extracting keywords



commit f2815a697c8603380f7cda2e436d901fe004dfb0
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Apr 22 14:04:11 2009 +0200

    Fixed another bugfix related to extracting keywords
---
 src/tracker-extract/tracker-extract-msoffice.c |    2 +-
 src/tracker-extract/tracker-xmp.c              |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tracker-extract/tracker-extract-msoffice.c b/src/tracker-extract/tracker-extract-msoffice.c
index 6aa753d..aa73c75 100644
--- a/src/tracker-extract/tracker-extract-msoffice.c
+++ b/src/tracker-extract/tracker-extract-msoffice.c
@@ -172,7 +172,7 @@ metadata_cb (gpointer key,
 					  (const gchar*) keyw);
 		}
 
-		g_free (keywords);
+		g_free (keyw);
 	} else if (strcmp (name, "dc:description") == 0) {
 		add_gvalue_in_metadata (metadata, uri, NIE_PREFIX "comment", val, NULL, NULL, NULL);
 	} else if (strcmp (name, "gsf:page-count") == 0) {
diff --git a/src/tracker-extract/tracker-xmp.c b/src/tracker-extract/tracker-xmp.c
index 4216b56..c6cf94a 100644
--- a/src/tracker-extract/tracker-xmp.c
+++ b/src/tracker-extract/tracker-xmp.c
@@ -314,7 +314,7 @@ tracker_xmp_iter_simple (const gchar *uri,
 						  (const gchar*) keyw);
 			}
 
-			g_free (keywords);
+			g_free (keyw);
 		}
 		else if (strcmp (name, "subject") == 0) {
 			gchar *keywords = g_strdup (value);
@@ -344,7 +344,7 @@ tracker_xmp_iter_simple (const gchar *uri,
 						  (const gchar*) keyw);
 			}
 
-			g_free (keywords);
+			g_free (keyw);
 
 		}
 		else if (strcmp (name, "publisher") == 0) {



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