freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] [BUG]: ftsystem.c: free( block );


From: Vladimir Moushkov
Subject: [Devel] [BUG]: ftsystem.c: free( block );
Date: Wed, 08 Oct 2003 13:11:10 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529

Hello, dear FreeType team,
at debuging of new Y graphic system I think I found bug at ftsystem.c files(s):
may be routine:
 FT_CALLBACK_DEF( void )
 ft_free( FT_Memory  memory,
          void*      block )
 {
   FT_UNUSED( memory );

   free( block );
 }
should be replaced by:
 FT_CALLBACK_DEF( void )
 ft_free( FT_Memory  memory,
          void*      block )
 {
   FT_UNUSED( memory );

   if ( block ) free( block );
 }
Y scanned my /usr/share/fonts/default/ghostscript directory where FT_Done_Face() called ft_free(). Excuse me I cannot include the "nasty" fonts but I have incidently erased them. I am not sure but I think the rpm ftp://216.254.0.38/linux/redhat/updates/7.3/en/os/i386/ghostscript-6.52-9.5.i386.rpm contain the same "nasty" fonts.
regards,
--vlindos







reply via email to

[Prev in Thread] Current Thread [Next in Thread]