|
-
February 2nd, 2010, 11:15 AM
#3
Re: delete doesn't appear to delete
I would recommend explicitly 0-initializing the key_list array. Even if it happens automatically, that isn't something you want to take chances with.
Calling delete will definitely *not* automatically NULL-out the pointer passed to it. It simply renders the address held by the pointer invalid, nothing more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|