aboutsummaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-04-26 01:49:22 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-04-26 01:49:22 -0400
commit917df9195011c852a6efffd4f1dc40ff007534c9 (patch)
treea08e8cbdf75f0109ca81436a8e39efba4684a110 /src/cli
parent421903a1379353f07a10deb335ed3c0361233064 (diff)
downloadstasis-917df9195011c852a6efffd4f1dc40ff007534c9.tar.gz
Fix leaks
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/stasis_indexer/junitxml_report.c1
1 files changed, 1 insertions, 0 deletions
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;
}