When running an application of mine in debug mode (VC++ 6, I think 5 behaved the same way) I noticed that the output window said "Detected memory leaks". I proceded to try and track down the source of the problem. What I finally found "appears" to be a bug in CString::AllocBuffer(). If you look in "strcore.cpp" at line 118 you will see memory for pData being allocated with the new operator. This does not appear to ever be freed with delete() or anything else for that matter. Am I missing something or is this a bug? I have searched the KB and not found anything on this. If I am incorrect, please show me where this memory is deallocated.