From 917df9195011c852a6efffd4f1dc40ff007534c9 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 26 Apr 2026 01:49:22 -0400 Subject: Fix leaks --- src/cli/stasis_indexer/junitxml_report.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cli') diff --git a/src/cli/stasis_indexer/junitxml_report.c b/src/cli/stasis_indexer/junitxml_report.c index 4eae7f7..c6cf4b0 100644 --- a/src/cli/stasis_indexer/junitxml_report.c +++ b/src/cli/stasis_indexer/junitxml_report.c @@ -38,6 +38,7 @@ static int write_report_output(struct Delivery *ctx, FILE *destfp, const char *x char *short_name_pattern = NULL; if (asprintf(&short_name_pattern, "-%s", ctx->info.release_name) < 0 || !short_name_pattern) { SYSERROR("%s", "unable to allocate bytes for short name pattern"); + guard_free(bname); return -1; } -- cgit