summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-01-27 11:09:54 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-01-27 11:09:54 +0000
commita30d51cb50f130bc91c7ee13b6656f1e64c94215 (patch)
tree4ab791d316030ca84c875c5d53467302e3eb3842
parent23e16e020e40807d1e7e099d06af9b56cb426149 (diff)
downloadnetsurf-a30d51cb50f130bc91c7ee13b6656f1e64c94215.tar.gz
netsurf-a30d51cb50f130bc91c7ee13b6656f1e64c94215.tar.bz2
Ensure we free the same size raster that we allocated
-rwxr-xr-xamiga/gui.c6
-rw-r--r--amiga/theme.c4
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]);
}
}