set it to null
ptr->sublistptr = setnull();