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/parser_json.c b/src/parser_json.c index cd1e5d1..3655d4c 100644 --- a/src/parser_json.c +++ b/src/parser_json.c
@@ -2089,7 +2089,7 @@ } else { /* can be the only opaque node and an operation had to be parsed */ assert(!strcmp(LYD_NAME(node), "eventTime") && (*first_p)->next); - lyd_unlink_tree(node); + lyd_unlink(node); assert(*envp); lyd_insert_child(*envp, node); }