freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Patch for psobjs.c


From: Werner LEMBERG
Subject: Re: [Devel] Patch for psobjs.c
Date: Sat, 17 Feb 2001 01:34:27 +0100 (CET)

> Attached is a patch for psaux/psobjs.c.  The nature of the
> bug is that in the event of a failed ALLOC, an uninitialized 
> error code is returned.

I think you are wrong.

  if ( ALLOC( ... ) )

expands to

  if ( FT_SET_ERROR( MEM_Alloc( ... ) ) )

expands to

  if ( ( error = MEM_Alloc( ... ) ) != 0 )

so `error' is correctly initialized.


    Werner



reply via email to

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