Fix memory leak by adding "owner" concept of node
This commit is contained in:
parent
bdfc36ea3f
commit
bb6c681780
3 changed files with 17 additions and 9 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue