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

Memory Leak problem for Intel Jpeg Compression

danielwang1971
Einsteiger
1.036Aufrufe

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 Antworten
Vladimir_Dudnik
Mitarbeiter
1.036Aufrufe

Hello,

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

Regards,
Vladimir

danielwang1971
Einsteiger
1.036Aufrufe

Hello Vladimir,

Isee memory leak in both.

Best regards,

Daniel wang

Vladimir_Dudnik
Mitarbeiter
1.036Aufrufe

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

Regards,
Vladimir

Vladimir_Dudnik
Mitarbeiter
1.036Aufrufe

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

Antworten