diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-01-27 11:09:54 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-01-27 11:09:54 +0000 |
commit | a30d51cb50f130bc91c7ee13b6656f1e64c94215 (patch) | |
tree | 4ab791d316030ca84c875c5d53467302e3eb3842 | |
parent | 23e16e020e40807d1e7e099d06af9b56cb426149 (diff) | |
download | netsurf-a30d51cb50f130bc91c7ee13b6656f1e64c94215.tar.gz netsurf-a30d51cb50f130bc91c7ee13b6656f1e64c94215.tar.bz2 |
Ensure we free the same size raster that we allocated
-rwxr-xr-x | amiga/gui.c | 6 | ||||
-rw-r--r-- | 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]); } } |