summaryrefslogtreecommitdiff
path: root/atari/bitmap.c
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2012-04-10 23:07:10 +0000
committerOle Loots <ole@monochrom.net>2012-04-10 23:07:10 +0000
commit3158226bbed794a8676be11736f055c0716bd5d7 (patch)
tree3dd5914a8da512ebee44d11a2d89cfc9d1118b47 /atari/bitmap.c
parentb400b7c22bb56c943225b08e4146192aae7aaa5f (diff)
downloadnetsurf-3158226bbed794a8676be11736f055c0716bd5d7.tar.gz
netsurf-3158226bbed794a8676be11736f055c0716bd5d7.tar.bz2
Introduced BITMAPF_BUFFER_NATIVE and native image buffer, for fast redraw of bitmaps.
svn path=/trunk/netsurf/; revision=13846
Diffstat (limited to 'atari/bitmap.c')
-rwxr-xr-xatari/bitmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/atari/bitmap.c b/atari/bitmap.c
index 696bc68b1..e123546ab 100755
--- a/atari/bitmap.c
+++ b/atari/bitmap.c
@@ -240,6 +240,8 @@ void bitmap_destroy(void *bitmap)
if( bm->resized != NULL ) {
bitmap_destroy(bm->resized);
}
+ if( bm->native.fd_addr )
+ free( bm->native.fd_addr );
free(bm->pixdata);
free(bm);
}