Community
cancel
Showing results for 
Search instead for 
Did you mean: 
danielwang1971
Beginner
66 Views

Memory Leak problem for Intel Jpeg Compression

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
66 Views

Hello,

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

Regards,
Vladimir

danielwang1971
Beginner
66 Views

Hello Vladimir,

Isee memory leak in both.

Best regards,

Daniel wang

Vladimir_Dudnik
Employee
66 Views

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

Regards,
Vladimir

Vladimir_Dudnik
Employee
66 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

Reply