Skip to content

Commit 0a0716d

Browse files
committed
tree data BUGFIX hash table item size
1 parent b395b41 commit 0a0716d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree_data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3062,7 +3062,7 @@ lyd_trim_xpath(struct lyd_node **tree, const char *xpath, const struct lyxp_var
30623062
LY_CHECK_GOTO(ret, cleanup);
30633063

30643064
/* create hash table for all the parents of results */
3065-
parent_ht = lyht_new(32, sizeof *node, lyd_trim_equal_cb, NULL, 1);
3065+
parent_ht = lyht_new(32, sizeof node, lyd_trim_equal_cb, NULL, 1);
30663066
LY_CHECK_GOTO(!parent_ht, cleanup);
30673067

30683068
for (i = 0; i < xp_set.used; ++i) {

0 commit comments

Comments
 (0)