| 52 |
52 |
| 53 void |
53 void |
| 54 msn_user_destroy(MsnUser *user) |
54 msn_user_destroy(MsnUser *user) |
| 55 { |
55 { |
| 56 g_return_if_fail(user != NULL); |
56 g_return_if_fail(user != NULL); |
| 57 |
|
| 58 /* |
|
| 59 * TODO: If any GaimBuddy->proto_data pointers point to this |
|
| 60 * MsnUser then set them to NULL. Or possibly even better, |
|
| 61 * don't set GaimBuddy->proto_data in the first place. |
|
| 62 */ |
|
| 63 |
57 |
| 64 if (user->clientcaps != NULL) |
58 if (user->clientcaps != NULL) |
| 65 g_hash_table_destroy(user->clientcaps); |
59 g_hash_table_destroy(user->clientcaps); |
| 66 |
60 |
| 67 if (user->group_ids != NULL) |
61 if (user->group_ids != NULL) |