Fix typo ( fontbitmap was never destroyed within dtor )
svn path=/trunk/netsurf/; revision=13889
This commit is contained in:
parent
68cd53ee66
commit
ea411f6c34
|
@ -577,9 +577,10 @@ int ctor_font_plotter_freetype( FONT_PLOTTER self )
|
|||
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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue