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 /include | |
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 'include')
-rw-r--r-- | include/HtmlTree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/HtmlTree.h b/include/HtmlTree.h index 6bb3c5f..4378152 100644 --- a/include/HtmlTree.h +++ b/include/HtmlTree.h @@ -29,7 +29,7 @@ struct HtmlNode { }; struct HtmlNodeChild { - HtmlNode *node; + HtmlNode node; HtmlNodeChild *next; }; |