commit | 0a0716d6c345b38536b1b25eb6d5fd09c5d17d3d | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Jan 04 15:02:12 2024 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Jan 04 15:02:12 2024 +0100 |
tree | 133973d27865b424a4a383fa0ebb509eb52eaade | |
parent | b395b41bea36cee1fa62160334424fde2ef0d49a [diff] |
tree data BUGFIX hash table item size
diff --git a/src/tree_data.c b/src/tree_data.c index 809a257..9181c89 100644 --- a/src/tree_data.c +++ b/src/tree_data.c
@@ -3062,7 +3062,7 @@ LY_CHECK_GOTO(ret, cleanup); /* create hash table for all the parents of results */ - parent_ht = lyht_new(32, sizeof *node, lyd_trim_equal_cb, NULL, 1); + parent_ht = lyht_new(32, sizeof node, lyd_trim_equal_cb, NULL, 1); LY_CHECK_GOTO(!parent_ht, cleanup); for (i = 0; i < xp_set.used; ++i) {