Mercurial > pidgin
changeset 21933:a368ee78a798
Plug a small leak.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 24 Dec 2007 07:04:08 +0000 |
parents | f82c94a72f5f |
children | cebfc2263199 |
files | pidgin/gtkblist.c pidgin/pidgincombobox.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)); }
--- 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);