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

Memory Leak problem for Intel Jpeg Compression

danielwang1971
Beginner
328 Views

Hello,

I tried new IPP version 5.3. I found memory leakissue for Intel JPEG Library.

This issue onlyhappen BASELINE mode.

I modify function OnSaveAs of JPGViewView like:

void

CJPGViewView::OnSaveAs(void)

{

CString fname;

for(int i = 1; i< 100; i++)

{

fname.Format(_T("c:\Test\ttt%d.jpg"),i);

pDoc->SetParamsJPEG(JPEG_BASELINE,75,0,JS_444,JC_GRAY,0);

pDoc->OnSaveDocument(fname);

}

return;

}

And then run JPGViewView to save image.

The sample BMP is attached, Can you tell me what's problem?

Best regards,

Daniel wang

0 Kudos
4 Replies
Vladimir_Dudnik
Employee
328 Views

Hello,

it is not clear do you see memory leak on original sample's code or on your modified version?

Regards,
Vladimir

0 Kudos
danielwang1971
Beginner
328 Views

Hello Vladimir,

Isee memory leak in both.

Best regards,

Daniel wang

0 Kudos
Vladimir_Dudnik
Employee
328 Views

Ok, we need to check. Therewere no such known bug detected by our testing.

Regards,
Vladimir

0 Kudos
Vladimir_Dudnik
Employee
328 Views

Hello,

we still were not able to reproduce your issue, Could you please provide simple test case and specify how do you exactly see that memory leak?

Regards,
Vladimir

0 Kudos
Reply