DecRef() returns true if buf was free'd.