diff options
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -634,8 +634,8 @@ static bool eval_expr(Evaluator *ev, Expression *e, Value *v) { if (e->unary.of->type.kind == TYPE_PTR) free(of.ptr); else { - assert(e->unary.of->type.kind == TYPE_ARR); - free(of.arr); + assert(e->unary.of->type.kind == TYPE_SLICE); + free(of.slice.data); } break; } |