Questions on sample 01_video_encode

Hi,
This looks to be a known issue and we are checking it. Please try this quick solution:
Memory Leak (Alloc/free mismatch) in Tegra multimedia API (encoder) - #6 by DaneLLL