commit | 2e784f894b0844aefc233d90a63ec8481992dbdc | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Jan 11 09:51:22 2024 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Jan 11 09:51:22 2024 +0100 |
tree | 655e6830110951674ec3300dd0f580c64ecb30e5 | |
parent | d098f5de8c8565ea940b192af5aba533ea970217 [diff] [blame] |
tree data UPDATE forbid unlinking list keys
diff --git a/src/tree_data_free.c b/src/tree_data_free.c index 1c0521d..0281ae5 100644 --- a/src/tree_data_free.c +++ b/src/tree_data_free.c
@@ -189,7 +189,7 @@ /* unlink only the nodes from the first level, nodes in subtree are freed all, so no unlink is needed */ if (top) { - lyd_unlink_tree(node); + lyd_unlink(node); } free(node);