aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-call-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index c5e7e6419..41c55c1d1 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -517,7 +517,7 @@ empathy_call_window_new (TpChannel *channel)
_("Incoming call from %s rejected because there is already a"
" running call."), empathy_contact_get_name (contact));
- g_object_unref (window->call);
+ g_object_unref (contact);
g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy),
NULL);