# HG changeset patch # User Mark Doliner # Date 1263498543 0 # Node ID 5a367a02319502c38d865e50ddcf9ccb232859c0 # Parent abb85fc40ecfbce7572c6c7ffd3b34aaed48dd2e Call msim_user_free here to make sure we cancel url_data and free one or two other fields that could be set. diff -r abb85fc40ecf -r 5a367a023195 libpurple/protocols/myspace/myspace.c --- a/libpurple/protocols/myspace/myspace.c Thu Jan 14 01:46:17 2010 +0000 +++ b/libpurple/protocols/myspace/myspace.c Thu Jan 14 19:49:03 2010 +0000 @@ -2439,16 +2439,8 @@ purple_notify_user_info_destroy(user_info); - if (user->temporary_user) { - g_free(user->client_info); - g_free(user->gender); - g_free(user->location); - g_free(user->headline); - g_free(user->display_name); - g_free(user->username); - g_free(user->image_url); - g_free(user); - } + if (user->temporary_user) + msim_user_free(user); g_free(username); }