|
-
December 17th, 2010, 10:11 AM
#1
does delete clear the memory?
Hi,
i store critical information in a
char* secret;
secret = new char[123];
after using it, i delete it:
delete secret;
Now:
Is there any way of re-allocating the "deleted" memory & restoring the data?
Would it make sense to ZeroMemory() the secret buffer before deleting it?
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
|