[tracker/gdbus-porting-rebased: 60/65] miner-rss: Fix memoryleaks connection and signal-id
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-porting-rebased: 60/65] miner-rss: Fix memoryleaks connection and signal-id
- Date: Wed, 12 Jan 2011 11:20:49 +0000 (UTC)
commit 81588c5c7dc3255bc15a36a4267aaad961b31256
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Jan 10 11:49:18 2011 +0100
miner-rss: Fix memoryleaks connection and signal-id
src/miners/rss/tracker-miner-rss.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/rss/tracker-miner-rss.c b/src/miners/rss/tracker-miner-rss.c
index 0d112f6..aa9feee 100644
--- a/src/miners/rss/tracker-miner-rss.c
+++ b/src/miners/rss/tracker-miner-rss.c
@@ -72,6 +72,9 @@ tracker_miner_rss_finalize (GObject *object)
g_free (priv->last_status);
g_object_unref (priv->pool);
+ g_dbus_connection_signal_unsubscribe (priv->connection, priv->graph_updated_id);
+ g_object_unref (priv->connection);
+
G_OBJECT_CLASS (tracker_miner_rss_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]