Commit 73060a6
authored
Remove unnecessary freeing functions (#40)
`rbs_node_destroy`, `rbs_hash_free`, `rbs_node_list_free` are only
calling each other recursively without any real freeing logic.
This is the result of previous efforts to allocate all nodes on the
arena. So we don't need these functions anymore.
Discovered while working on #411 parent da91a88 commit 73060a6
6 files changed
+66
-868
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 126 | + | |
130 | 127 | | |
131 | 128 | | |
132 | 129 | | |
| |||
213 | 210 | | |
214 | 211 | | |
215 | 212 | | |
216 | | - | |
217 | | - | |
218 | | - | |
| 213 | + | |
219 | 214 | | |
220 | 215 | | |
221 | 216 | | |
| |||
254 | 249 | | |
255 | 250 | | |
256 | 251 | | |
257 | | - | |
258 | | - | |
259 | | - | |
| 252 | + | |
260 | 253 | | |
261 | 254 | | |
262 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
689 | | - | |
690 | 688 | | |
0 commit comments