diff options
author | pommicket <pommicket@gmail.com> | 2023-08-09 19:14:52 -0300 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-09 19:14:52 -0300 |
commit | cca844b42a6303282e7536c8834b74ff56140cbf (patch) | |
tree | 78e58dcbb386c10e0311bfced55f79e251e1a569 /node.c | |
parent | 310faf5d70b8a65c83c013a31ab87d9d3f301767 (diff) |
more pointerizing of buffers, fix memory leaks
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -148,6 +148,7 @@ void node_close(Ted *ted, Node *node) { } // replace parent with other side of split *parent = *other_side; + free(other_side); arr_remove_item(ted->nodes, other_side); if (was_active) { Node *new_active_node = parent; |