[PATCH]setup.exe: delete called for NULL pointer

Robert Collins robert.collins@itdomain.com.au
Wed Apr 10 16:03:00 GMT 2002

> -----Original Message-----
> From: Michael A Chase [mailto:mchase@ix.netcom.com] 
> Sent: Thursday, April 11, 2002 7:51 AM
> To: Pavel Tsekov
> Cc: cygwin-patches@cygwin.com
> Subject: Re: [PATCH]setup.exe: delete called for NULL pointer
> I don't know, but many other places where it is called, it's 
> protected by
>    if (var)
>       delete[] var;

That was before I had read up on certain aspects of the C++ spec.


More information about the Cygwin-patches mailing list