diff --git a/telepathy-glib/contact.c b/telepathy-glib/contact.c index ceae418..de8b894 100644 --- a/telepathy-glib/contact.c +++ b/telepathy-glib/contact.c @@ -776,7 +776,7 @@ contacts_context_fail (ContactsContext *c, { const gchar *id = g_ptr_array_index (c->request_ids, i); - if (!g_hash_table_lookup (c->request_errors, id)) + if (id && !g_hash_table_lookup (c->request_errors, id)) { g_hash_table_insert (c->request_errors, g_strdup (id), g_error_copy (error));