Fix pointer error about an error pointer.