aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 9117c1b62..0e596fe0a 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -182,6 +182,9 @@ main_window_flash_foreach (GtkTreeModel *model,
&individual,
-1);
+ if (individual == NULL)
+ return FALSE;
+
contact = empathy_contact_from_folks_individual (individual);
if (contact != data->event->contact) {
if (contact) {