Shouldn't really happen in practice but better to be safe than sorry.
https://bugzilla.gnome.org/show_bug.cgi?id=665853
return;
individual = empathy_create_individual_from_tp_contact (contacts[0]);
+ if (individual == NULL)
+ return;
/* listen for updates to the capabilities */
tp_g_signal_connect_object (contacts[0], "notify::capabilities",
continue;
individual = empathy_create_individual_from_tp_contact (contact);
+ if (individual == NULL)
+ return;
DEBUG ("%s joined channel %s", tp_contact_get_identifier (contact),
tp_proxy_get_object_path (self->priv->channel));