Missing initialisation, may lead to invalid dereference in error code path