Check error return.

Fixes Coverity CID 1349688.
1 file changed