Re: How do I release memory for arrays that I careated?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Thu, 30 Mar 2006 18:47:30 -0500
Pucca <Pucca@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Thank you for the reply. My apology that I didn't copy all the
declaration. tBuffer was declared. Thank you.
TCHAR tBuffer[ONE_K];
tBuffer is declared, but it is not allocated on the heap with 'new'. You
cannot delete what you have not allocated in the first place.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- Re: How do I release memory for arrays that I careated?
- From: Brian Muth
- Re: How do I release memory for arrays that I careated?
- Prev by Date: Re: CoCreateInstance in RunMessageLoop
- Next by Date: Re: How can I tell when a checkbox is clicked on a List Control?
- Previous by thread: Re: How do I release memory for arrays that I careated?
- Next by thread: Re: How do I release memory for arrays that I careated?
- Index(es):