Hi all,
Valgrind reports follows memory leak.
==24567==    at 0x4A1FE1B: malloc (vg_replace_malloc.c:207)
==24567==    by 0x6AC7FDD: boost::detail::get_once_per_thread_epoch() (in /app/local/pkgs/boost/lib/libboost_thread-gcc41-mt-1_39.so.1.39.0)

==24567==    by 0x6AC4A17: void boost::call_once<void (*)()>(boost::once_flag&, void (*)()) (in /app/local/pkgs/boost/lib/libboost_thread-gcc41-mt-1_39.so.1.39.0)

==24567==    by 0x6AC1D96: boost::detail::get_current_thread_data() (in /app/local/pkgs/boost/lib/libboost_thread-gcc41-mt-1_39.so.1.39.0)

==24567==    by 0x6AC36B4: boost::thread::join() (in /app/local/pkgs/boost/lib/libboost_thread-gcc41-mt-1_39.so.1.39.0)

Code is looks like:

thread_->join();
delete thread_;

Is there a way to fix it?

Regards \/lad.


==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================