jones
to cdr
of spam
, the pointer from jones
moves. The reference count of its new target must be incremented to
three, and the reference count of the node it used to point to (the
node pointing to fishfood
) is decremented to zero, and is deleted.
But when it (with its pointer) goes, the node pointing to jackson
takes on a count of zero, and is deleted, too. Likewise the
node pointing to clinton
bites (bytes?) the dust.
![]() |
![]() |