commit | 0691d524e50f212dbb71fa3f2b15c4a9c3e2ef1e | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu May 21 13:21:47 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu May 21 13:21:47 2020 +0200 |
tree | 3da34c5b720752e0a942fa4fcb8d0f67883cd8b4 | |
parent | aa61a71625ce4d119d43d528e4a0b992c455bf95 [diff] [blame] |
fixup! xpath FEATURE use hashes when possible to find specific node instances
diff --git a/src/tree_data.c b/src/tree_data.c index fd14dc8..35d9347 100644 --- a/src/tree_data.c +++ b/src/tree_data.c
@@ -2620,8 +2620,7 @@ } cleanup: - //lyxp_set_free_content(&xp_set); - lyxp_set_cast(&xp_set, LYXP_SET_EMPTY); + lyxp_set_free_content(&xp_set); lyxp_expr_free((struct ly_ctx *)LYD_NODE_CTX(ctx_node), exp); return ret; }