Additionally, `s->errors` at line 105 already assumes that `s != NULL`. Therefore, testing it here looks weird to me.