<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 125: Memory Leak : tinystr.h init function</title><link>https://sourceforge.net/p/tinyxml/bugs/125/</link><description>Recent changes to 125: Memory Leak : tinystr.h init function</description><atom:link href="https://sourceforge.net/p/tinyxml/bugs/125/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 13 Oct 2011 18:50:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tinyxml/bugs/125/feed.rss" rel="self" type="application/rss+xml"/><item><title>Memory Leak : tinystr.h init function</title><link>https://sourceforge.net/p/tinyxml/bugs/125/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There appears to be a memory leak in the init function located on line 228 of tinystr.h:&lt;/p&gt;
&lt;p&gt;rep_ = reinterpret_cast&amp;lt;Rep*&amp;gt;( new int[ intsNeeded ] );&lt;/p&gt;
&lt;p&gt;This is surrounding the use of the new operator.  Here it is as reported by DBX on Solaris 10.&lt;/p&gt;
&lt;p&gt;Memory Leak (mel):&lt;br /&gt;
Found 3 leaked blocks with total size 60 bytes&lt;br /&gt;
At time of each allocation, the call stack was:&lt;br /&gt;
[1] operator new() at 0xe6d0709c&lt;br /&gt;
[2] TiXmlString::init() at line 228 in "tinystr.h"&lt;br /&gt;
[3] TiXmlString::init() at line 206 in "tinystr.h"&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sean Ryle</dc:creator><pubDate>Thu, 13 Oct 2011 18:50:34 -0000</pubDate><guid>https://sourceforge.net9238dce686d3ee431cbf04df7742e22a6134c919</guid></item></channel></rss>