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