comparison pidgin/gtkblist.c @ 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 3fc5862b834a
comparison
equal deleted inserted replaced
21932:f82c94a72f5f 21933:a368ee78a798
3310 g_free(tmp); 3310 g_free(tmp);
3311 3311
3312 /* Accounts with buddies in group */ 3312 /* Accounts with buddies in group */
3313 accounts = purple_group_get_accounts(group); 3313 accounts = purple_group_get_accounts(group);
3314 for (; accounts != NULL; 3314 for (; accounts != NULL;
3315 accounts = g_slist_remove_link(accounts, accounts)) { 3315 accounts = g_slist_delete_link(accounts, accounts)) {
3316 PurpleAccount *account = accounts->data; 3316 PurpleAccount *account = accounts->data;
3317 purple_notify_user_info_add_pair(user_info, _("Account"), purple_account_get_username(account)); 3317 purple_notify_user_info_add_pair(user_info, _("Account"), purple_account_get_username(account));
3318 } 3318 }
3319 3319
3320 tmp = purple_notify_user_info_get_text_with_newline(user_info, "\n"); 3320 tmp = purple_notify_user_info_get_text_with_newline(user_info, "\n");