summaryrefslogtreecommitdiffstats
path: root/ctx.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-03-25 13:53:47 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-03-25 13:56:12 -0400
commit30e55d140074749809c419bba2a1a9fd1a4c7de9 (patch)
tree371d05089e2598d5503a2d49970d330eb210b83d /ctx.c
parent339be35aeec3492b895c7779ad4cc8562162dbee (diff)
downloadbfs-30e55d140074749809c419bba2a1a9fd1a4c7de9.tar.xz
expr: Store auxilliary data in a union
And rename struct expr to bfs_expr.
Diffstat (limited to 'ctx.c')
-rw-r--r--ctx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctx.c b/ctx.c
index 15e7f4b..8ba2f38 100644
--- a/ctx.c
+++ b/ctx.c
@@ -262,8 +262,8 @@ int bfs_ctx_free(struct bfs_ctx *ctx) {
CFILE *cout = ctx->cout;
CFILE *cerr = ctx->cerr;
- free_expr(ctx->expr);
- free_expr(ctx->exclude);
+ bfs_expr_free(ctx->exclude);
+ bfs_expr_free(ctx->expr);
bfs_mtab_free(ctx->mtab);