aboutsummaryrefslogtreecommitdiff
path: root/include/HtmlTree.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-18 18:16:31 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-18 18:16:31 +0200
commitc17cc9a2bcf393b8e6af553dd14a129ec9cc9462 (patch)
tree1645b014c46a2dd01087ff2e74abb918cc7b5efe /include/HtmlTree.h
parent534c441fd8172322ff5eaad54a1d26b9d8492c39 (diff)
Remove unecessary malloced node for child nodes (the child node item with the next item included is malloced instead)
Diffstat (limited to 'include/HtmlTree.h')
-rw-r--r--include/HtmlTree.h2
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;
};