aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-event-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index c10802011..0992dd243 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -714,7 +714,7 @@ event_manager_ft_got_contact_cb (EmpathyTpContactFactory *factory,
EventManagerApproval *approval = (EventManagerApproval *) user_data;
char *header;
- approval->contact = contact;
+ approval->contact = g_object_ref (contact);
header = g_strdup_printf (_("Incoming file transfer from %s"),
empathy_contact_get_name (approval->contact));