aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index f8a199ca9..2533d7743 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -386,8 +386,8 @@ call_window_update (EmpathyCallWindow *window)
call_window_finalize (window);
}
-
- g_object_unref (contact);
+ if (contact)
+ g_object_unref (contact);
}
GtkWidget *