From c17cc9a2bcf393b8e6af553dd14a129ec9cc9462 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 18 Sep 2021 18:16:31 +0200 Subject: Remove unecessary malloced node for child nodes (the child node item with the next item included is malloced instead) --- include/HtmlTree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/HtmlTree.h') 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; }; -- cgit v1.2.3