Date: Tue, 13 Apr 1999 19:18:16 -0400 Message-Id: <199904132318.TAA05382@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <7f0g7a$qg7$1@nnrp1.dejanews.com> (message from Chris Jones on Tue, 13 Apr 1999 22:24:49 GMT) Subject: Re: SIGSEGV problem with DJGPP (deleting array) References: <7f0g7a$qg7$1 AT nnrp1 DOT dejanews DOT com> Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > double *ptr2= new double [size+1]; > ... > delete [] ptr; I hope you meant ptr2 here. > double *ptr=new double [size]; > ... > delete [] ptr2; I hope you meant ptr here.