Boost logo

Boost :

Subject: Re: [boost] [date_time] memory leak?
From: Mika Heiskanen (mika.heiskanen_at_[hidden])
Date: 2010-03-18 06:31:08


Bartosz Marcinkiewicz wrote:

> #include <iostream>
> #include <boost/date_time/posix_time/posix_time.hpp>
>
> int main()
> {
> std::cout << boost::posix_time::microsec_clock::local_time() << std::endl;
> return 0;
> }
>
> Running through valgrind yields this:
[snip]
> This is boost-1.37.0-9.fc11 (fedora core 11), gcc 4.4.1, x86-64 platform.

valgrind did not find any problems with this setup:

   boost v1.41
   x86-64 Red Hat Enterprise Linux Server release 5.4 (Tikanga)
   gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-46)

--> Mika Heiskanen


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk