diff options
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) { |
