fix a leak on a parse-error