diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-22 18:40:40 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-22 18:40:40 +0000 |
commit | 7e7ea09000c9386dfa4db75be3ea6c49ab203cfd (patch) | |
tree | 7a0ae56c860d4effbaca77ab6829834179d06a35 /amiga/gui.c | |
parent | c2bd86ca9644734ad87b560757251e26fde666b7 (diff) | |
download | netsurf-7e7ea09000c9386dfa4db75be3ea6c49ab203cfd.tar.gz netsurf-7e7ea09000c9386dfa4db75be3ea6c49ab203cfd.tar.bz2 |
Allocate generic list objects using itempools
TODO: Allocate the attached structures also using itempools
Diffstat (limited to 'amiga/gui.c')
-rw-r--r-- | amiga/gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |