fix error path null deref in previous commit