if sublistptr is null

if (subptr == 0)