R32.1.0 : MMAPI and decodeToFd leak memory ?!

Hello,

I come to ask about memory leak on NvJpegDec

on TX2 / 28.2.1 , there have a leak on decodeToFd
[url]https://devtalk.nvidia.com/default/topic/1042617/jetson-tx2/r28-2-1-decodetofd-leak-memory-/[/url]

a libjpeg.so fix had been shared.

But, for NANO and MMAPI 32.1 (12_camera_v4l2_cuda) , i try a mjpeg camera with “-f MJPEG” option : I have same issu … memory leak .

Have you a fix ? Or that’s an another problems (i didn’t see more).

Hi,
We can observe the issue. Will update.

Hi,
Please try attachment.
r32_1_libnvjpeg.zip (145 KB)

Thank you !!!

Nice job ;)