Mercurial > pidgin.yaz
changeset 18585:823946ddd527
Memory leak fix.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 21 Jul 2007 06:22:15 +0000 |
parents | 91fdd3e4892f |
children | 4fda1fc6d7cf 0ad0bdb0063b |
files | finch/gntblist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntblist.c Sat Jul 21 06:15:26 2007 +0000 +++ b/finch/gntblist.c Sat Jul 21 06:22:15 2007 +0000 @@ -1670,7 +1670,7 @@ } /* Now the popular statuses */ - for (iter = purple_savedstatuses_get_popular(6); iter; iter = iter->next) + for (iter = purple_savedstatuses_get_popular(6); iter; iter = g_list_delete_link(iter, iter)) { item = g_new0(StatusBoxItem, 1); item->type = STATUS_SAVED_POPULAR;