Skip to content

Commit

Permalink
tree data BUGFIX non-changing iterator (#2207)
Browse files Browse the repository at this point in the history
Signed-off-by: Amjad Daraiseh <adaraiseh@okdanetworks.com>
  • Loading branch information
adaraiseh authored Mar 22, 2024
1 parent b66f025 commit f4ba2ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tree_data_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,7 @@ lyd_new_list3(struct lyd_node *parent, const struct lys_module *module, const ch
rc = lyd_create_term(key_s, key_val, key_len, 0, store_only, NULL, format, NULL, LYD_HINT_DATA, NULL, &key);
LY_CHECK_GOTO(rc, cleanup);
lyd_insert_node(ret, NULL, key, LYD_INSERT_NODE_LAST);
++i;
}

if (parent) {
Expand Down

0 comments on commit f4ba2ff

Please sign in to comment.