Fix memory leak with Interpreter errors.