Boost C++ Libraries: Ticket #563: [thread] [tss_hook.cpp] Suppress MSVC CRT memory leak report https://svn.boost.org/trac10/ticket/563 <pre class="wiki">MSVC CRT memory debugger pedantically complains about an unreleased singleton allocation. Although the consensus is that this is a harmless annoyance, it does cause some concern for MSVC users who don't know what is happening. Issue discussed in this Boost mailing list thread: http://lists.boost.org/boost-users/2005/08/13538.php Attached is a patch for tss_hook.cpp, which uses the function _CrtSetDbgFlag to temporarily turn off heap allocation tracking for the particular allocation in question. It should have no effect except on MSVC debug builds. On my configuration (msvc-8_0) it eliminates the leak warnings. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/563 Trac 1.4.3 Roland Schwarz Sat, 18 Mar 2006 20:12:49 GMT <link>https://svn.boost.org/trac10/ticket/563#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/563#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=541730 I will look into this, since AFAIK Michael Glassford currently is not available. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>sf-robot</dc:creator> <pubDate>Sun, 02 Apr 2006 03:23:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/563#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/563#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Roland Schwarz</dc:creator> <pubDate>Fri, 29 Sep 2006 06:41:13 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/563#comment:3 https://svn.boost.org/trac10/ticket/563#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=541730 The issue has been fixed in 1.34 and HEAD, altough differently than the patch suggests. I cannot see that the suggested patch is MT safe. </pre> Ticket