xpath CHANGE set_free made public
diff --git a/src/xpath.h b/src/xpath.h
index 009045b..95f6ef3 100644
--- a/src/xpath.h
+++ b/src/xpath.h
@@ -207,4 +207,12 @@
  */
 int lyxp_eval(const char *expr, struct lyd_node *cur_node, struct lyxp_set **set, uint32_t line);
 
+/**
+ * @brief Free contents of an XPath \p set.
+ *
+ * @param[in] set Set to free.
+ * @param[in] ctx libyang context to use.
+ */
+void lyxp_set_free(struct lyxp_set *set, struct ly_ctx *ctx);
+
 #endif /* _XPATH_H */