# HG changeset patch # User ib # Date 1367234483 0 # Node ID 64825e4a3fed7e259098e2688a8d87c207a6c985 # Parent 3705b6e4ba0706f623ef1c1e6c8abf3c69836825 Remove pointless code. The URL dialog widget will be destroyed after a selection has been made, and urlEntries will be freed and rebuilt every time the URL dialog widget is created (newly). So it makes no sense to prepend any data to the GList that never will be used. diff -r 3705b6e4ba07 -r 64825e4a3fed gui/dialog/url.c --- a/gui/dialog/url.c Mon Apr 29 10:30:41 2013 +0000 +++ b/gui/dialog/url.c Mon Apr 29 11:21:23 2013 +0000 @@ -58,8 +58,6 @@ str = tmp; } - urlEntries = g_list_prepend(urlEntries, (gchar *)str); - item = calloc(1, sizeof(urlItem)); item->url = gstrdup(str); listMgr(URLLIST_ITEM_ADD, item);