tracker r2989 - in trunk: . src/tracker-indexer



Author: carlosg
Date: Fri Feb 27 13:01:09 2009
New Revision: 2989
URL: http://svn.gnome.org/viewvc/tracker?rev=2989&view=rev

Log:
2009-02-27  Carlos Garnacho  <carlos imendio com>

        * src/tracker-indexer/tracker-module-metadata-utils.c
        (metadata_utils_get_embedded): Plug a leak.

Modified:
   trunk/ChangeLog
   trunk/src/tracker-indexer/tracker-module-metadata-utils.c

Modified: trunk/src/tracker-indexer/tracker-module-metadata-utils.c
==============================================================================
--- trunk/src/tracker-indexer/tracker-module-metadata-utils.c	(original)
+++ trunk/src/tracker-indexer/tracker-module-metadata-utils.c	Fri Feb 27 13:01:09 2009
@@ -307,11 +307,11 @@
 		return;
 	}
 
-	g_hash_table_foreach (values, 
-			      metadata_utils_get_embedded_foreach, 
+	g_hash_table_foreach (values,
+			      metadata_utils_get_embedded_foreach,
 			      metadata);
 
-	/* Do we free this hash table? */
+	g_hash_table_destroy (values);
 }
 
 static gboolean



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