Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] Memory leaks even with shared_ptrs
From: cc caprani (cc.caprani_at_[hidden])
Date: 2011-07-21 11:26:44


On Thu, Jul 21, 2011 at 3:15 PM, Maxime van Noppen <maxime_at_[hidden]>wrote:

> On 07/21/2011 04:02 PM, cc caprani wrote:
>
>> int main()
>> {
>>
> [...]
>
> std::cin.get(); // hold console window open
>> _CrtDumpMemoryLeaks(); // report memory leaks
>> }
>>
>
>
>
<smacks forehead> Oh that could have nearly been embarrassing!

Luckily I had actually done that in a previous test - the problem still
remains when scoped correctly as suggested.

Thanks for the input Maxine.



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