Fix dereference after null check CID 18147