[tracker] libtracker-data: Fix free on shared table_name



commit 6f15b25c6e1fc8426756f112fab74996d6fc44d1
Author: Jürg Billeter <j bitron ch>
Date:   Tue Mar 16 17:23:14 2010 +0100

    libtracker-data: Fix free on shared table_name

 src/libtracker-data/tracker-data-update.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index d00ebec..71b73f8 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1183,14 +1183,12 @@ cache_set_metadata_decomposed (TrackerProperty  *property,
 	/* read existing property values */
 	old_values = get_old_property_values (property, &new_error);
 	if (new_error) {
-		g_free (table_name);
 		g_propagate_error (error, new_error);
 		return FALSE;
 	}
 
 	string_to_gvalue (value, tracker_property_get_data_type (property), &gvalue, &new_error);
 	if (new_error) {
-		g_free (table_name);
 		g_propagate_error (error, new_error);
 		return FALSE;
 	}



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