aboutsummaryrefslogtreecommitdiff
path: root/sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys.c')
-rw-r--r--sys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys.c b/sys.c
index 195b2a1..d3a9bb2 100644
--- a/sys.c
+++ b/sys.c
@@ -57,9 +57,9 @@ void sys_cleanup(sys_t *sys)
break;
case TAG_VEC:
{
- lvec_t *lvec = as_vec(allocated);
- ivec_free(&lvec->data);
- free(lvec);
+ vec_t *vec = as_vec(allocated);
+ vec_free(vec);
+ free(vec);
break;
}
case TAG_NIL: