aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2025-07-07 19:08:35 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2025-07-07 19:08:35 -0400
commit1209bdcc6e6131d12fc0923d771e14d9d65635e2 (patch)
tree6f4afcabe019642bd2f289815b49ea43f2da6ac4 /tests
parent5aa0f7ffaf1352f39fbc42ed7bb38ecb17ed36a6 (diff)
downloadstasis-1209bdcc6e6131d12fc0923d771e14d9d65635e2.tar.gz
Fix leak in artifactory test
Diffstat (limited to 'tests')
-rw-r--r--tests/test_artifactory.c1
1 files changed, 1 insertions, 0 deletions
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);