7 Aug
2003
7 Aug
'03
8:21 p.m.
why does this leak memory from the first call to "new"? how can I prevent the leak? wchar_t* pmem = new wchar_t[10]; boost::shared_ptrstd::wstring cp ( new std::wstring(pmem) ); thanks for the help, .Aaron