This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
RE: [PATCH]setup.exe: delete called for NULL pointer
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- To: "Michael A Chase" <mchase at ix dot netcom dot com>,"Pavel Tsekov" <ptsekov at gmx dot net>
- Cc: <cygwin-patches at cygwin dot com>
- Date: Thu, 11 Apr 2002 09:03:04 +1000
- Subject: RE: [PATCH]setup.exe: delete called for NULL pointer
> -----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.
Rob