shared_ptr memory leak (newb)
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
7783
Age (days ago)
7783
Last active (days ago)
0 comments
1 participants
participants (1)
-
Aaron Campbell