freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Error in T1_New_Parser


From: Werner LEMBERG
Subject: Re: [Devel] Error in T1_New_Parser
Date: Thu, 24 Jan 2002 20:15:39 +0100 (CET)

> I think T1_New_Parser erroneously frees parser->base_dict if the
> font cannot be loaded and it exits with an error (file t1parse.c,
> line 224, in 2.0.6).  This is an error because it will be freed
> again in T1_Finalize_Parser.

This doesn't hurt.  FREE() expands to FT_Free(), and that macro
deallocates only if the value is non-null.  After deallocation, it
sets the value explicitly to null so it can't be deallocated a second
time.


    Werner



reply via email to

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