diff options
Diffstat (limited to 'libempathy-gtk/empathy-individual-dialogs.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-dialogs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-dialogs.c b/libempathy-gtk/empathy-individual-dialogs.c index a19787662..e1bd6f11f 100644 --- a/libempathy-gtk/empathy-individual-dialogs.c +++ b/libempathy-gtk/empathy-individual-dialogs.c @@ -222,6 +222,9 @@ empathy_block_individual_dialog_show (GtkWindow *parent, goto while_finish; contact = tpf_persona_get_contact (persona); + if (contact == NULL) + goto while_finish; + flags = empathy_contact_manager_get_flags_for_connection ( contact_manager, tp_contact_get_connection (contact)); |