summaryrefslogtreecommitdiffstats
path: root/src/ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctx.c')
-rw-r--r--src/ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctx.c b/src/ctx.c
index a3c5140..1f3e72e 100644
--- a/src/ctx.c
+++ b/src/ctx.c
@@ -241,7 +241,7 @@ int bfs_ctx_free(struct bfs_ctx *ctx) {
free_colors(ctx->colors);
- for_slist (struct bfs_expr, expr, &ctx->expr_list) {
+ for_slist (struct bfs_expr, expr, &ctx->expr_list, freelist) {
bfs_expr_clear(expr);
}
arena_destroy(&ctx->expr_arena);