> Considering the problem you reported, now I think making
> FT_Stream_New() initialize *astream always can be more generic
> solution.
> 
> FT_Stream_New() is NOT public function, but it is most fundamental
> function to create a stream in FreeType2.  I suppose no FT2 users
> write their function creating FT_Stream without FT_Stream_New(), so,
> if FT_Stream_New() initializes *astream always, it will prevent the
> bug by freeing uninitialized stream in their functions.

Preventing bugs at no cost is always a good idea :-)  Please apply.


    Werner


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to