commit | 68b96340b00d785bc4b297f5163c3326a469dcc8 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Sep 09 15:24:18 2024 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Sep 09 15:24:18 2024 +0200 |
tree | 26468d1322d3341dae5af794c456df51df6405f8 | |
parent | 9d50e7741ff1454362a05fd5156c31f058e804a6 [diff] [blame] |
path UPDATE context not required for freeing
diff --git a/src/tree_schema.c b/src/tree_schema.c index d7ac8d8..81bda1b 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c
@@ -644,7 +644,7 @@ ret = lys_find_lypath_atoms(p, set); cleanup: - ly_path_free(ctx, p); + ly_path_free(p); lyxp_expr_free(ctx, expr); return ret; } @@ -679,7 +679,7 @@ snode = p[LY_ARRAY_COUNT(p) - 1].node; cleanup: - ly_path_free(ctx, p); + ly_path_free(p); lyxp_expr_free(ctx, expr); return snode; }