diff options
-rw-r--r-- | libempathy/empathy-contact-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-manager.c b/libempathy/empathy-contact-manager.c index 7af2bd349..059382b60 100644 --- a/libempathy/empathy-contact-manager.c +++ b/libempathy/empathy-contact-manager.c @@ -535,6 +535,7 @@ empathy_contact_manager_can_add (EmpathyContactManager *manager, EmpathyTpContactList *list; g_return_val_if_fail (EMPATHY_IS_CONTACT_MANAGER (manager), FALSE); + g_return_val_if_fail (connection != NULL, FALSE); list = g_hash_table_lookup (priv->lists, connection); if (list == NULL) |