diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index 903856b5c..85b755ce2 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -297,7 +297,10 @@ FT_EXPORT_FUNC( void ) FT_Done_Stream( FT_Stream stream ) { if ( stream && stream->close ) + { stream->close( stream ); + stream->close = 0; + } }