Libjpeg encode leak

We are running into a memory leak using the 05_jpeg_encode on JP5.1 (but it works in JP5.0) on the xavier nx

Any updates on this fix?

Hi,
Please make sure you use Jetpack 5.1(r35.2.1). We have tested the release and it should work well.