Memory Leak in Video Recording

No, I think the memory leak comes from nvvideoconvert + nvv4l2h264enc as explained here Nvvideoconvert element produces memory increases in a create-start-stop-delete sequence