aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 44d9dbeed..aaa35d9e9 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -415,6 +415,7 @@ empathy_contact_new_for_log (EmpathyAccount *account,
gboolean is_user)
{
g_return_val_if_fail (id != NULL, NULL);
+ g_assert (account != NULL);
return g_object_new (EMPATHY_TYPE_CONTACT,
"account", account,