Fix memory leaks of special NAL sequences