cid#704588 Dereference after null check

Change-Id: If84e072da9e59140466262fbeac4dc787a9de898