[tracker/tracker-0.10] tracker-extract: Fix use of uninitialized memory



commit 634acb10c237d22f38e3412bf573c231428cbba3
Author: Jürg Billeter <j bitron ch>
Date:   Mon Apr 18 11:34:35 2011 +0200

    tracker-extract: Fix use of uninitialized memory
    
    Fixes NB#248059.

 src/tracker-extract/tracker-extract.c |    1 -
 src/tracker-extract/tracker-extract.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index 21cdf99..0e04bac 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -604,7 +604,6 @@ tracker_extract_info_free (TrackerExtractInfo *info)
 		g_object_unref (info->preupdate);
 	}
 
-	g_free (info->where);
 	g_slice_free (TrackerExtractInfo, info);
 }
 
diff --git a/src/tracker-extract/tracker-extract.h b/src/tracker-extract/tracker-extract.h
index 77c3680..64cf457 100644
--- a/src/tracker-extract/tracker-extract.h
+++ b/src/tracker-extract/tracker-extract.h
@@ -52,7 +52,6 @@ struct TrackerExtractClass {
 struct TrackerExtractInfo {
 	TrackerSparqlBuilder *preupdate;
 	TrackerSparqlBuilder *statements;
-	gchar *where;
 };
 
 GType           tracker_extract_get_type                (void);



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