This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]