diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-09-18 18:16:31 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-09-18 18:16:31 +0200 |
commit | c17cc9a2bcf393b8e6af553dd14a129ec9cc9462 (patch) | |
tree | 1645b014c46a2dd01087ff2e74abb918cc7b5efe /tests | |
parent | 534c441fd8172322ff5eaad54a1d26b9d8492c39 (diff) |
Remove unecessary malloced node for child nodes (the child node item with the next item included is malloced instead)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c index 3b22f8a..4c9e93c 100644 --- a/tests/main.c +++ b/tests/main.c @@ -30,7 +30,7 @@ static void html_attributes_print(HtmlAttribute *attr) { static void html_node_print(HtmlNode *node); static void html_node_child_print(HtmlNodeChild *node_child) { while(node_child) { - html_node_print(node_child->node); + html_node_print(&node_child->node); node_child = node_child->next; } } |