- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The memory for state->pMDCTSpec36 & state->pMDCTSpec12 is allocated using ippsMDCTFwdInitAlloc_32f() and should be freed in mp3encClose_layer3() using ippsMDCTFwdFree_32f() not ippsFree()
This was found in 5.3.4.087
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I'll let development team to know about your report. By the way, did you check IPP 6.0 beta where this issue might be already solved?
Regards,
Vladimir
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - vdudnik
Thanks, I'll let development team to know about your report. By the way, did you check IPP 6.0 beta where this issue might be already solved?
Regards,
Vladimir
Vladimir
No, the beta is considerably different in structure. Is it safe to swictch the beta yet? If not, when is release anticipated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I compiled the 6.0 beta and found it has a different memory leak - the psychoacoustic_block.IIRfilterState is not being free'd. mp3encClose() needs to change to:
[cpp]MP3Status mp3encClose(MP3Enc *state) { if (NULL == state){ return MP3_OK; } switch(state->com.header.layer) { case 1: break; case 2: break; case 3: { int i; mp3encClose_layer3(state); for (i=0; i<4; i++) { ippsIIRFree_32f(state->psychoacoustic_block.IIRfilterState); } } break; default: break; } return MP3_OK; }[/cpp]

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page