<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Memory leak in MPEG2VideoDecoderBase? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890630#M11407</link>
    <description>I think I found a small memory leak in MPEG2VideoDecoderBase:&lt;BR /&gt;&lt;BR /&gt;In the beginning &lt;I&gt;MPEG2VideoDecoderBase::Init()&lt;/I&gt; will call &lt;I&gt;BaseCodec::Init()&lt;/I&gt;.&lt;BR /&gt;If the initialization parameter of &lt;I&gt;BaseCodecParams-&amp;gt;lpMemoryAllocator&lt;/I&gt; is set to &lt;I&gt;NULL&lt;/I&gt;, then &lt;I&gt;BaseCodec::Init()&lt;/I&gt; will create an own instance of &lt;I&gt;DefaultMemoryAllocator&lt;/I&gt; for &lt;I&gt;m_pMemoryAllocator&lt;/I&gt; and &lt;I&gt;m_bOwnAllocator&lt;/I&gt; is set to &lt;I&gt;true&lt;/I&gt;. &lt;BR /&gt;In the further processing of &lt;I&gt;MPEG2VideoDecoderBase::Init()&lt;/I&gt; the method &lt;I&gt;Reset()&lt;/I&gt; is called which will set &lt;I&gt;m_bOwnAllocator&lt;/I&gt; to &lt;I&gt;false&lt;/I&gt;.&lt;BR /&gt;The result is that &lt;I&gt;m_pMemoryAllocator&lt;/I&gt; will never be freed.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Daniel&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Sep 2008 13:34:16 GMT</pubDate>
    <dc:creator>dewildt</dc:creator>
    <dc:date>2008-09-09T13:34:16Z</dc:date>
    <item>
      <title>Memory leak in MPEG2VideoDecoderBase?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890630#M11407</link>
      <description>I think I found a small memory leak in MPEG2VideoDecoderBase:&lt;BR /&gt;&lt;BR /&gt;In the beginning &lt;I&gt;MPEG2VideoDecoderBase::Init()&lt;/I&gt; will call &lt;I&gt;BaseCodec::Init()&lt;/I&gt;.&lt;BR /&gt;If the initialization parameter of &lt;I&gt;BaseCodecParams-&amp;gt;lpMemoryAllocator&lt;/I&gt; is set to &lt;I&gt;NULL&lt;/I&gt;, then &lt;I&gt;BaseCodec::Init()&lt;/I&gt; will create an own instance of &lt;I&gt;DefaultMemoryAllocator&lt;/I&gt; for &lt;I&gt;m_pMemoryAllocator&lt;/I&gt; and &lt;I&gt;m_bOwnAllocator&lt;/I&gt; is set to &lt;I&gt;true&lt;/I&gt;. &lt;BR /&gt;In the further processing of &lt;I&gt;MPEG2VideoDecoderBase::Init()&lt;/I&gt; the method &lt;I&gt;Reset()&lt;/I&gt; is called which will set &lt;I&gt;m_bOwnAllocator&lt;/I&gt; to &lt;I&gt;false&lt;/I&gt;.&lt;BR /&gt;The result is that &lt;I&gt;m_pMemoryAllocator&lt;/I&gt; will never be freed.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Daniel&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 13:34:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890630#M11407</guid>
      <dc:creator>dewildt</dc:creator>
      <dc:date>2008-09-09T13:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Memory leak in MPEG2VideoDecoderBase?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890631#M11408</link>
      <description>&lt;P&gt;Thanks Daniel,&lt;/P&gt;
&lt;P&gt;I'll forward this info to ourdevelopers. By the way what version of IPP do you use? Is that the latest IPP 5.3 release?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2008 15:33:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890631#M11408</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-09-09T15:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Memory leak in MPEG2VideoDecoderBase?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890632#M11409</link>
      <description>&lt;P&gt;It really happened and was fixed before IPP 5.2 gold.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Leonid&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2008 15:39:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890632#M11409</guid>
      <dc:creator>Leonid_K_Intel</dc:creator>
      <dc:date>2008-09-09T15:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Memory leak in MPEG2VideoDecoderBase?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890633#M11410</link>
      <description>I'm using the IPP-samples 5.3.083 (but that part of the code identical to that of version 5.3.095)&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Sep 2008 06:59:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Memory-leak-in-MPEG2VideoDecoderBase/m-p/890633#M11410</guid>
      <dc:creator>dewildt</dc:creator>
      <dc:date>2008-09-10T06:59:15Z</dc:date>
    </item>
  </channel>
</rss>

