[tracker/class-signal] Leak, squash
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/class-signal] Leak, squash
- Date: Fri, 13 Aug 2010 10:56:49 +0000 (UTC)
commit 137f435bd63ee771b3ba0ed4ba2fb6a428969dcb
Author: Philip Van Hoof <philip codeminded be>
Date: Fri Aug 13 12:56:41 2010 +0200
Leak, squash
src/libtracker-data/tracker-ontologies.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-ontologies.c b/src/libtracker-data/tracker-ontologies.c
index 899b9ed..d2a3727 100644
--- a/src/libtracker-data/tracker-ontologies.c
+++ b/src/libtracker-data/tracker-ontologies.c
@@ -259,6 +259,9 @@ tracker_ontologies_add_property (TrackerProperty *field)
uri = tracker_property_get_uri (field);
if (g_strcmp0 (uri, TRACKER_RDF_PREFIX "type") == 0) {
+ if (rdf_type) {
+ g_object_unref (rdf_type);
+ }
rdf_type = g_object_ref (field);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]