class Nokogiri::LibXML::XmlXpathObject

def self.release ptr

def self.release ptr
  LibXML.xmlXPathFreeNodeSetList(ptr) # despite the name, this frees the xpath but not the contained node set
end