summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-05 14:18:57 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-05 14:18:57 +0200
commitad8056491c7f46c5c2583fa3a291efba9385ec62 (patch)
tree791f2c3b894f0171d2fde88d88149cc205037ba6
parent35ff9454674f766d5d8f89286b1092b44868dda4 (diff)
fix TpContact leak (#28903)
-rw-r--r--telepathy-logger/channel-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-logger/channel-text.c b/telepathy-logger/channel-text.c
index d18244c..ddd52eb 100644
--- a/telepathy-logger/channel-text.c
+++ b/telepathy-logger/channel-text.c
@@ -1226,7 +1226,7 @@ on_received_signal_with_contact_cb (TpConnection *connection,
handle = tp_contact_get_handle (remote);
g_hash_table_insert (tpl_text->priv->contacts, GUINT_TO_POINTER (handle),
- remote);
+ g_object_ref (remote));
keepon_on_receiving_signal (log, remote);
}