Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

memory leak in w_ipp-sample-jpeg_p_4.1.007

vesselin_k
Beginner
268 Views
The web form seems to reformat the patch (how handy!) so I am submitting it as an attachment.
Files affected:
ipp_samplejpegJPEGViewjpegcodecenchtbl.cpp
ipp_samplejpegJPEGViewjpegcodecdechtbl.cpp
Basically in methods ...HuffmanTable::Destroy:
...
m_table = 0;
...
if(0 != m_table)
{
ippFree(m_table);
m_table = 0;
}
...
The most annoying thing was that the other memory debuggers would not detect leaks generated by improper use of ippMalloc/ippFree. Is there a function ippMemoryAllocationsReport or something?
Regards
Vesselin
P.S. Even more annoying - I can not post to the forums with Firefox.
0 Kudos
1 Reply
Ying_S_Intel
Employee
268 Views
Dear Customer,
This issue is fixed in the latest version IPP 5.0 beta. You may try the latest JPEG sample provided in IPP 5.0 beta to correct this memory leak issue.

The IPP 5.0 beta enrollment program is listed at:
http://www.intel.com/software/products/ipp/beta

Once you complete the registration, you will see beta IPP products in your account within Intel Premier Support.

I am also attaching the information about the IPP 5.0 beta sample group descriptions for your reference.

http://softwareforums.intel.com/ids/board/message?board.id=IPP&message.id=2380
Hope it helps.
Thanks,
Ying
0 Kudos
Reply