From 8fd962f6faecac925dcc23f87635d4915475acf3 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 3 Apr 2025 09:35:10 -0400 Subject: ctx: Don't leak ctx->kinds Fixes: 9c911d7 ("ctx: Track the token kind of each argument") --- src/ctx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ctx.c b/src/ctx.c index d92d8ba..05baa1d 100644 --- a/src/ctx.c +++ b/src/ctx.c @@ -286,6 +286,7 @@ int bfs_ctx_free(struct bfs_ctx *ctx) { } free(ctx->paths); + free(ctx->kinds); free(ctx->argv); free(ctx); } -- cgit v1.2.3