diff options
| author | LLLL Colonq <llll@colonq> | 2026-07-10 03:10:18 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-07-10 03:10:18 -0400 |
| commit | 6f9276b24b371758bf9dbe87110843b6d6dc6f8e (patch) | |
| tree | f52f3e4907131c45c85c81811d47a531f9619cb2 /pit/src/native.c | |
| parent | 2bdcaf319b1d74ffbaccf08a58336f804761beab (diff) | |
pit: Clean up tree traversals
Diffstat (limited to 'pit/src/native.c')
| -rw-r--r-- | pit/src/native.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pit/src/native.c b/pit/src/native.c index fbf8efc..a62f82e 100644 --- a/pit/src/native.c +++ b/pit/src/native.c @@ -79,8 +79,8 @@ static void check_invariants(pit_runtime *rt) { if (rt->result_stack->next != 0) { pit_error(rt, "leaked result_stack memory! %ld", rt->result_stack->next); } - if (rt->program->next != 0) { - pit_error(rt, "leaked program memory! %ld", rt->program->next); + if (rt->traversal->next != 0) { + pit_error(rt, "leaked traversal memory! %ld", rt->traversal->next); } } pit_value pit_load_file(pit_runtime *rt, char *path) { |
