Just to make sure: I have a string like this:
Code:
WCHAR* wsThing = new WCHAR[nLen]; //assume nLen = 20;
wsThing[8] = 0;
delete[] wsThing;
I just want to make sure: it releases all memory, right?