Fix an uninitialised read on an error path