tracker r2343 - in trunk: . src/trackerd



Author: carlosg
Date: Thu Oct  9 12:17:44 2008
New Revision: 2343
URL: http://svn.gnome.org/viewvc/tracker?rev=2343&view=rev

Log:
2008-10-09  Carlos Garnacho  <carlos imendio com>

        * src/trackerd/tracker-search.c (tracker_search_get_hit_count)
        (tracker_search_get_hit_count_all): Do not free memory owned by
        TrackerOntology.


Modified:
   trunk/ChangeLog
   trunk/src/trackerd/tracker-search.c

Modified: trunk/src/trackerd/tracker-search.c
==============================================================================
--- trunk/src/trackerd/tracker-search.c	(original)
+++ trunk/src/trackerd/tracker-search.c	Thu Oct  9 12:17:44 2008
@@ -483,7 +483,6 @@
 	dbus_g_method_return (context, tracker_query_tree_get_hit_count (tree));
 
 	g_object_unref (tree);
-	g_array_free (array, TRUE);
 
 	tracker_dbus_request_success (request_id);
 }
@@ -530,7 +529,6 @@
 				       priv->config,
 				       priv->language,
 				       array);
-	g_array_free (array, TRUE);
 
 	hit_counts = tracker_query_tree_get_hit_counts (tree);
 



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