From c88c4fa214b3dd23b8f68fe35d9c8eb738d80976 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 1 Dec 2012 15:23:11 +0000 Subject: Don't need to attempt to free on remove, as the only entry point has already done this. --- amiga/gui.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index 6efa99ab4..9fa83e1d1 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2563,8 +2563,6 @@ void ami_gui_hotlist_toolbar_remove(struct gui_window_2 *gwin) gwin->redraw_required = true; gwin->bw->reformat_pending = true; - - ami_gui_hotlist_toolbar_free(gwin, &gwin->hotlist_toolbar_list); } void ami_gui_hotlist_toolbar_update(struct gui_window_2 *gwin) -- cgit v1.2.3