|
Boost Users : |
From: Aaron Campbell (yg-boost-users_at_[hidden])
Date: 2003-08-07 15:21:44
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_ptr<std::wstring> cp ( new std::wstring(pmem) );
thanks for the help,
.Aaron
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net