Mercurial > pidgin
diff libpurple/protocols/msn/user.c @ 30725:de59c181e6aa
MsnUserEndpoint->id isn't actually used, so let's not store it in the
struct. It's used as the key in the endpoints hashtable, so hopefully
we can get away with keeping only one copy of it
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 22 Apr 2010 20:51:24 +0000 |
parents | 6376fc7a092e |
children | 2a5dbea6ab6b |
line wrap: on
line diff
--- a/libpurple/protocols/msn/user.c Thu Apr 22 18:09:44 2010 +0000 +++ b/libpurple/protocols/msn/user.c Thu Apr 22 20:51:24 2010 +0000 @@ -230,7 +230,6 @@ static void free_user_endpoint(MsnUserEndpoint *data) { - g_free(data->id); g_free(data->name); g_free(data); } @@ -255,7 +254,6 @@ new = g_hash_table_lookup(user->endpoints, endpoint); if (!new) { new = g_new0(MsnUserEndpoint, 1); - new->id = g_strdup(endpoint); g_hash_table_insert(user->endpoints, g_strdup(endpoint), new); }