freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Segmentation fault report


From: Artur Zaprzala
Subject: Re: [Devel] Segmentation fault report
Date: Thu, 20 Dec 2001 13:25:42 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120

David Turner wrote:

Hello Artur,

 it seems that's caused by a strange bug in FT_Done_Library. The fix is
 really simply, but since I'm currently (*right now*) heavily working on
 the sources, I cannot commit it to the CVS before an hour or two..

 Please be patient, or try the following yourself, in FT_Done_Library
 (in src/base/ftobjs.c)

#if 1 while ( library->num_modules > 0 )
     FT_Remove_Module( library, library->modules[0] );
#else for ( n = 0; n < library->num_modules; n++ )
   {
     FT_Module  module = library->modules[n];


     if ( module )
     {
       Destroy_Module( module );
       library->modules[n] = 0;
     }
   }
#endif

 Let me know if this works,

 Regards,

- David

It works perfectly!
Thanks.

PS
I was greatly surprised when you send a fix withing 10 minutes.





reply via email to

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