<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - ResetAndDestroy leaves? - Comments</title>
 <link>http://www.newlc.com/topic-5311</link>
 <description>Comments for &quot;ResetAndDestroy leaves?&quot;</description>
 <language>en</language>
<item>
 <title>ResetAndDestroy leaves?</title>
 <link>http://www.newlc.com/topic-5311#comment-14665</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Found the problem.&lt;br /&gt;CArrayPtrFlat is derived from CBase and A is not. CArrayPtrFlat, assumes CBase operator new will zero it&#039;s memory.&lt;br /&gt;&lt;br /&gt;I changed m_operations to be a pointer member and it&#039;s ok now.&lt;/div&gt;</description>
 <pubDate>Wed, 09 Feb 2005 19:35:51 +0100</pubDate>
 <dc:creator>yarontt</dc:creator>
 <guid isPermaLink="false">comment 14665 at http://www.newlc.com</guid>
</item>
<item>
 <title>ResetAndDestroy leaves?</title>
 <link>http://www.newlc.com/topic-5311#comment-14664</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Have you allocated your OpInfoStruct objects dynamically?&lt;/div&gt;</description>
 <pubDate>Mon, 07 Feb 2005 08:51:51 +0100</pubDate>
 <dc:creator>Andreas</dc:creator>
 <guid isPermaLink="false">comment 14664 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: ResetAndDestroy leaves?</title>
 <link>http://www.newlc.com/topic-5311#comment-14663</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;div class=&quot;quoteheader&quot;&gt;Quote from: yaront&lt;/div&gt;&lt;div class=&quot;quote&quot;&gt;...&lt;br /&gt;In ~A() I call m_operations.ResetAndDestroy() which leaves unexpectedlly (I get the App closed message).&lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;Thanx&lt;br /&gt;Yaron Tadmor&lt;/div&gt;&lt;br /&gt;It&#039;s very unlikely that ResetAndDestroy leaves, because it doesn&#039;t end with L. What you are experiencing is probably a Panic, not a Leave. There are many reasons why it could panic. Most likey, that&#039;s double deallocation. Knowing the panic number/category would help. Check debug output from the emulator.&lt;br /&gt;&lt;br /&gt;-Slava&lt;/div&gt;</description>
 <pubDate>Sun, 06 Feb 2005 17:39:59 +0100</pubDate>
 <dc:creator>Slava Monich</dc:creator>
 <guid isPermaLink="false">comment 14663 at http://www.newlc.com</guid>
</item>
<item>
 <title>ResetAndDestroy leaves?</title>
 <link>http://www.newlc.com/topic-5311</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/topic-5311&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-5311#comments</comments>
 <category domain="http://www.newlc.com/forums/symbian-c">Symbian C++</category>
 <pubDate>Sun, 06 Feb 2005 15:03:54 +0100</pubDate>
 <dc:creator>yaront</dc:creator>
 <guid isPermaLink="false">6063 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
