comparison libpurple/account.c @ 29613:e3206d6da6c7

propagate from branch 'im.pidgin.pidgin' (head bc551a0f3f61b07c37e8677925b1aeae91e849be) to branch 'im.pidgin.pidgin.next.minor' (head 6d87b28fb7d202e9e5cf6700c99d9f140fdcd245)
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 31 Oct 2009 17:52:54 +0000
parents a4e4d27fb810 e0223ad82ca1
children dcd52d2b1b97
comparison
equal deleted inserted replaced
29612:a78a44f0cdcd 29613:e3206d6da6c7
1048 purple_presence_destroy(account->presence); 1048 purple_presence_destroy(account->presence);
1049 1049
1050 if(account->system_log) 1050 if(account->system_log)
1051 purple_log_free(account->system_log); 1051 purple_log_free(account->system_log);
1052 1052
1053 while (account->deny) {
1054 g_free(account->deny->data);
1055 account->deny = g_slist_delete_link(account->deny, account->deny);
1056 }
1057
1058 while (account->permit) {
1059 g_free(account->permit->data);
1060 account->permit = g_slist_delete_link(account->permit, account->permit);
1061 }
1062
1053 priv = PURPLE_ACCOUNT_GET_PRIVATE(account); 1063 priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
1054 PURPLE_DBUS_UNREGISTER_POINTER(priv->current_error); 1064 PURPLE_DBUS_UNREGISTER_POINTER(priv->current_error);
1055 if (priv->current_error) { 1065 if (priv->current_error) {
1056 g_free(priv->current_error->description); 1066 g_free(priv->current_error->description);
1057 g_free(priv->current_error); 1067 g_free(priv->current_error);