From a30d51cb50f130bc91c7ee13b6656f1e64c94215 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 27 Jan 2013 11:09:54 +0000 Subject: Ensure we free the same size raster that we allocated --- amiga/gui.c | 6 +++--- amiga/theme.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index 2c1a78ac7..c9645835a 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -386,7 +386,7 @@ void ami_open_resources(void) TAG_DONE))) die(messages_get("NoMemory")); ami_file_req_init(); -// ami_help_init(NULL); + //ami_help_init(NULL); } void ami_set_options(void) @@ -669,7 +669,7 @@ void ami_openscreen(void) gui_system_colour_finalize(); gui_system_colour_init(); -// ami_help_new_screen(scrn); + //ami_help_new_screen(scrn); } void ami_openscreenfirst(void) @@ -2418,7 +2418,7 @@ void gui_quit(void) FreeSysObject(ASOT_PORT,appport); FreeSysObject(ASOT_PORT,sport); -// ami_help_free(); + //ami_help_free(); ami_file_req_free(); ami_openurl_close(); diff --git a/amiga/theme.c b/amiga/theme.c index 65d2f51e1..d0808a4a2 100644 --- a/amiga/theme.c +++ b/amiga/theme.c @@ -370,8 +370,8 @@ void ami_mouse_pointers_free(void) { if(mouseptrbm[i]) { - FreeRaster(mouseptrbm[i]->Planes[0],16,16); - FreeRaster(mouseptrbm[i]->Planes[1],16,16); + FreeRaster(mouseptrbm[i]->Planes[0],32,32); + FreeRaster(mouseptrbm[i]->Planes[1],32,32); FreeVec(mouseptrbm[i]); } } -- cgit v1.2.3