Jetson Video Encoder memory leak

I have questions on the sample 01_video_encode
1) ./video_encode /home/server/wtb/nx_encoder_test/out.yuv 1920 1080 H264 ./test.h264, use this common to test,
when exit program ,clean resource ,I found memory leak. Had this problem ?
thanks .

Hi tingbo_wang,

the nature of these samples is that we try to do “best effort” in demonstrating functionality, but we cannot guarantee a bug-free state. They should always be seen as reference examples only and not used as base for production systems.

That said it could be possible that there is incorrect memory handling. If you can share a code snippet where you suspect an error, I can forward that to our engineering team. But I cannot commit to this being addressed.