--- a/libpurple/protocols/gg/roster.c Sat Jan 09 12:51:06 2016 -0500 +++ b/libpurple/protocols/gg/roster.c Thu Jan 14 00:09:55 2016 -0500 @@ -497,7 +497,7 @@ g_hash_table_insert(content->contact_nodes, GINT_TO_POINTER(uin), node); /* check, if alias is set */ - if (strlen(alias) == 0 || + if (*alias == '\0' || strcmp(alias, ggp_uin_to_str(uin)) == 0) { g_free(alias);