From 7e7ea09000c9386dfa4db75be3ea6c49ab203cfd Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 22 Jan 2016 18:40:40 +0000 Subject: Allocate generic list objects using itempools TODO: Allocate the attached structures also using itempools --- amiga/gui.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'amiga/gui.c') diff --git a/amiga/gui.c b/amiga/gui.c index 58e7938fd..2521acbfd 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3049,6 +3049,8 @@ static void gui_quit(void) FreeVec(current_user_faviconcache); FreeVec(current_user); + ami_object_fini(); + ami_libs_close(); } @@ -5497,6 +5499,8 @@ int main(int argc, char** argv) /* Open splash window */ Object *splash_window = ami_gui_splash_open(); + ami_object_init(); + if (ami_open_resources() == false) { /* alloc message ports */ ami_misc_fatal_error("Unable to allocate resources"); ami_gui_splash_close(splash_window); -- cgit v1.2.3