aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-03-22 17:21:29 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-03-22 22:20:28 -0400
commitdb94a90195ba47fcbd8d02f3ffc9ce48cce34f5f (patch)
tree17a5a537cba47a1abffb792e0ba185b07f52962e
parent604a536247797016f2c77ea8e9c8cd76512b739c (diff)
downloadstasis-db94a90195ba47fcbd8d02f3ffc9ce48cce34f5f.tar.gz
Free more members from the delivery context
* Delivery.storage.output_dir * Delivery.storage.build_docker_dir * Delivery.deploy.jfrog[n].repo * Delivery.deploy.jfrog[n].dest
-rw-r--r--src/deliverable.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index 28c8abc..8201de2 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -127,6 +127,7 @@ void delivery_free(struct Delivery *ctx) {
guard_free(ctx->storage.tools_dir);
guard_free(ctx->storage.package_dir);
guard_free(ctx->storage.results_dir);
+ guard_free(ctx->storage.output_dir);
guard_free(ctx->storage.conda_install_prefix);
guard_free(ctx->storage.conda_artifact_dir);
guard_free(ctx->storage.conda_staging_dir);
@@ -138,6 +139,7 @@ void delivery_free(struct Delivery *ctx) {
guard_free(ctx->storage.build_recipes_dir);
guard_free(ctx->storage.build_sources_dir);
guard_free(ctx->storage.build_testing_dir);
+ guard_free(ctx->storage.build_docker_dir);
guard_free(ctx->storage.mission_dir);
guard_free(ctx->storage.docker_artifact_dir);
guard_free(ctx->info.time_str_epoch);
@@ -180,6 +182,8 @@ void delivery_free(struct Delivery *ctx) {
guard_strlist_free(ctx->deploy.docker.build_args);
for (size_t i = 0; i < sizeof(ctx->deploy.jfrog) / sizeof(ctx->deploy.jfrog[0]); i++) {
+ guard_free(ctx->deploy.jfrog[i].repo);
+ guard_free(ctx->deploy.jfrog[i].dest);
guard_strlist_free(ctx->deploy.jfrog[i].files);
}
}