Mercurial > pidgin
diff libpurple/notify.c @ 20987:0cbfc19e4909
Fix some leaks caused by misuse of g_list_remove_link() instead of g_list_delete_link().
| author | Daniel Atallah <daniel.atallah@gmail.com> |
|---|---|
| date | Thu, 18 Oct 2007 20:20:57 +0000 |
| parents | dd0878ccc577 |
| children | 89c7be36fd61 |
line wrap: on
line diff
--- a/libpurple/notify.c Thu Oct 18 18:13:30 2007 +0000 +++ b/libpurple/notify.c Thu Oct 18 20:20:57 2007 +0000 @@ -691,7 +691,7 @@ GList *last = g_list_last(user_info->user_info_entries); if (last) { purple_notify_user_info_entry_destroy(last->data); - user_info->user_info_entries = g_list_remove_link(user_info->user_info_entries, last); + user_info->user_info_entries = g_list_delete_link(user_info->user_info_entries, last); } }
