Avoid a NULL deref.