Author: mono
Date: Tue Apr 24 15:51:52 2012
New Revision: 13889
URL:
http://source.netsurf-browser.org?rev=13889&view=rev
Log:
Fix typo ( fontbitmap was never destroyed within dtor )
Modified:
trunk/netsurf/atari/plot/font_freetype.c
Modified: trunk/netsurf/atari/plot/font_freetype.c
URL:
http://source.netsurf-browser.org/trunk/netsurf/atari/plot/font_freetype....
==============================================================================
--- trunk/netsurf/atari/plot/font_freetype.c (original)
+++ trunk/netsurf/atari/plot/font_freetype.c Tue Apr 24 15:51:52 2012
@@ -577,9 +577,10 @@
static int dtor( FONT_PLOTTER self )
{
ft_font_finalise();
- if( fontbmp == NULL )
- bitmap_destroy( fontbmp );
-
+ if( fontbmp != NULL ) {
+ bitmap_destroy( fontbmp );
+ fontbmp = NULL;
+ }
if( tmp.fd_addr != NULL ){
free( tmp.fd_addr );
}