>it is still 0x7803a710. I was expecting it to be freed to 0x00000000.
Your expectation is not realistic. Freeing some memory do not mean
that is zero out. It means that is available for other uses.
A perfect example would be if you declare an int variable and do not
initializes it, what do you get? We say "garbage", but in reality is whatever that piece of memory holded last from previous use.
Aia
Nearly a Posting Maven
2,392 posts since Dec 2006
Reputation Points: 2,224
Solved Threads: 218