aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-ft-handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-ft-handler.c')
-rw-r--r--libempathy/empathy-ft-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index b05da94aa..7c8033d84 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -1219,7 +1219,7 @@ contact_factory_contact_cb (EmpathyTpContactFactory *factory,
return;
}
- priv->contact = contact;
+ priv->contact = g_object_ref (contact);
cb_data->callback (handler, NULL, cb_data->user_data);
}