Fix bad error handling

GCC picked this up as a possible nullptr dereference.

Change-Id: Ia570175666a109ebea0ef835b75a907507580cbe
Signed-off-by: Ed Tanous <edtanous@google.com>
1 file changed