Re: Problem while deleting dynamically allocated array...


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Juan Romero Jr. on March 24, 2001 at 16:47:55:

In Reply to: Problem while deleting dynamically allocated array... posted by Evan Worthington on March 24, 2001 at 14:30:51:

Umm shot in the dark- maybe your deleting a Null pointer (0x0 is Null in Hex)


: If i had an array that has been dynamically allocated, does anyone know why i might get an error when trying to deallocate the memory with a statment like:
: delete [] arrayPtr;

: the error happens at execution time and looks like this:
: Debug Error!
: DAMAGE: after Normal block(#108) at 0x0...
: (press retry to debug the application)

: If anyone has any idea what might be causing this error, I'd like any help...

: Thanks, Evan




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]