Fix memory leak by adding "owner" concept of node

This commit is contained in:
Dominic Grimm 2023-08-05 12:52:28 +02:00
parent bdfc36ea3f
commit bb6c681780
3 changed files with 17 additions and 9 deletions

View file

@ -60,6 +60,7 @@ union hf__node_value {
struct hf__node {
enum hf__node_type type;
union hf__node_value value;
bool is_owner;
};
struct hf__parser {