tracker r3143 - in trunk: . src/libtracker-data
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r3143 - in trunk: . src/libtracker-data
- Date: Fri, 27 Mar 2009 14:08:30 +0000 (UTC)
Author: carlosg
Date: Fri Mar 27 14:08:30 2009
New Revision: 3143
URL: http://svn.gnome.org/viewvc/tracker?rev=3143&view=rev
Log:
2009-03-27 Carlos Garnacho <carlos imendio com>
* src/libtracker-data/tracker-data-query.c (result_set_to_metadata):
Do not leak GValues contents.
Modified:
trunk/ChangeLog
trunk/src/libtracker-data/tracker-data-query.c
Modified: trunk/src/libtracker-data/tracker-data-query.c
==============================================================================
--- trunk/src/libtracker-data/tracker-data-query.c (original)
+++ trunk/src/libtracker-data/tracker-data-query.c Fri Mar 27 14:08:30 2009
@@ -460,10 +460,13 @@
g_free (str);
str = g_strdup ("");
}
+
+ g_value_unset (&transform);
} else {
str = g_strdup ("");
}
+ g_value_unset (&value);
field = tracker_ontology_get_field_by_id (metadata_id);
if (!field) {
g_critical ("Field id %d in database but not in tracker-ontology",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]