# HG changeset patch # User ib # Date 1328994334 0 # Node ID f9b7f4b48fcbda8f4343f41dae4f3c51137a7dcf # Parent 19398061c20419317dc26f58a944182097f312eb Fix bug in freeing URL list items. The urlItem structure wasn't freed. diff -r 19398061c204 -r f9b7f4b48fcb gui/util/list.c --- a/gui/util/list.c Sat Feb 11 20:43:02 2012 +0000 +++ b/gui/util/list.c Sat Feb 11 21:05:34 2012 +0000 @@ -190,8 +190,12 @@ case gtkDelURL: while (urlList) { + urlItem *next = urlList->next; + free(urlList->url); - urlList = urlList->next; + free(urlList); + + urlList = next; } return NULL; }