# HG changeset patch # User Sadrul Habib Chowdhury # Date 1198479848 0 # Node ID a368ee78a7989c44313dd17cfb35eba1392c65cf # Parent f82c94a72f5f6b268b1773a83bbd368063de2d9b Plug a small leak. diff -r f82c94a72f5f -r a368ee78a798 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Mon Dec 24 02:00:17 2007 +0000 +++ b/pidgin/gtkblist.c Mon Dec 24 07:04:08 2007 +0000 @@ -3312,7 +3312,7 @@ /* Accounts with buddies in group */ accounts = purple_group_get_accounts(group); for (; accounts != NULL; - accounts = g_slist_remove_link(accounts, accounts)) { + accounts = g_slist_delete_link(accounts, accounts)) { PurpleAccount *account = accounts->data; purple_notify_user_info_add_pair(user_info, _("Account"), purple_account_get_username(account)); } diff -r f82c94a72f5f -r a368ee78a798 pidgin/pidgincombobox.c --- a/pidgin/pidgincombobox.c Mon Dec 24 02:00:17 2007 +0000 +++ b/pidgin/pidgincombobox.c Mon Dec 24 07:04:08 2007 +0000 @@ -2980,7 +2980,7 @@ g_return_if_fail (link != NULL); - combo_box->priv->cells = g_slist_remove_link (combo_box->priv->cells, link); + combo_box->priv->cells = g_slist_delete_link (combo_box->priv->cells, link); combo_box->priv->cells = g_slist_insert (combo_box->priv->cells, info, position);