[Boost-bugs] [Boost C++ Libraries] #5839: thread.cpp: ThreadProxy leaks on exceptions

Subject: [Boost-bugs] [Boost C++ Libraries] #5839: thread.cpp: ThreadProxy leaks on exceptions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-30 06:37:05


#5839: thread.cpp: ThreadProxy leaks on exceptions
--------------------------------+-------------------------------------------
 Reporter: noloader@… | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
--------------------------------+-------------------------------------------
 If something goes wrong in ThreadProxy (such as fetching the return
 value), the ThreadProxyData could be leaked.

 {{{
 DWORD WINAPI ThreadProxy(LPVOID args)
 {
     ThreadProxyData* data=reinterpret_cast<ThreadProxyData*>(args);
     DWORD ret=data->start_address_(data->arglist_);
     delete data;
     return ret;
 }
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5839>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC