// xmlXPathFreeCompExpr func (xpath *XPath) Free() { C.xmlXPathFreeCompExpr(xpath.Ptr) xpath.Ptr = nil }
func (exp *Expression) Free() { if exp.Ptr != nil { C.xmlXPathFreeCompExpr(exp.Ptr) exp.Ptr = nil } }
func (x *XPathExpression) Free() { if x.ptr == nil { return } C.xmlXPathFreeCompExpr(x.ptr) }