print: fix use after free
timelineeditor: correctly check memory allocation
hevc: clean memory on exit
remuxer: fix read after free on cleanup