private void free(short p) {
        size--;
        links[p] = freePtr;
        freePtr = p;
    }
Returns the given index resource to the free list.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/ShortListIndexer.java