From 1209bdcc6e6131d12fc0923d771e14d9d65635e2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 7 Jul 2025 19:08:35 -0400 Subject: Fix leak in artifactory test --- tests/test_artifactory.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/test_artifactory.c b/tests/test_artifactory.c index 4af7eec..202a67c 100644 --- a/tests/test_artifactory.c +++ b/tests/test_artifactory.c @@ -116,6 +116,7 @@ int main(int argc, char *argv[]) { // Skip this suite if we're not configured to use it if (jfrt_auth_init(&gauth)) { SYSERROR("%s", "Not configured to test Artifactory. Skipping."); + guard_free(basedir); return STASIS_TEST_SUITE_SKIP; } guard_free(basedir); -- cgit