found a problem when trying to get metadata for nonexistant metadata types, the problem was trying to free g_slice_new-allocated memory with g_free. patch attached :-)
Samuel
Index: tracker-db-mysql.c =================================================================== RCS file: /cvs/gnome/tracker/src/trackerd/tracker-db-mysql.c,v retrieving revision 1.8 diff -u -r1.8 tracker-db-mysql.c --- tracker-db-mysql.c 13 Sep 2006 17:11:54 -0000 1.8 +++ tracker-db-mysql.c 13 Sep 2006 22:15:58 -0000 @@ -50,7 +50,7 @@ if (res && row && row[0]) { def->id = g_strdup (row[0]); } else { - g_free (def); + g_slice_free (FieldDef, def); tracker_db_free_result (res); return NULL; }
_______________________________________________ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list