Updated incremental freeing of input data during parse.