aboutsummaryrefslogtreecommitdiff
path: root/src/deliverable.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-02 13:47:08 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-02 18:55:46 -0400
commitc75eb1c382d883ae9ac3d7c69d40eac1ee5e7d06 (patch)
tree806b1a1b4671afc78382ff89a15f21bec3c149c4 /src/deliverable.c
parent5d1c853dad6ded857a52e95222c0b5877f4d9094 (diff)
downloadstasis-c75eb1c382d883ae9ac3d7c69d40eac1ee5e7d06.tar.gz
More strlist operations
Diffstat (limited to 'src/deliverable.c')
-rw-r--r--src/deliverable.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index 3d638cb..17aebf7 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -159,10 +159,11 @@ void delivery_free(struct Delivery *ctx) {
guard_free(ctx->conda.installer_arch);
guard_free(ctx->conda.tool_version);
guard_free(ctx->conda.tool_build_version);
- guard_strlist_free(ctx->conda.conda_packages);
- guard_strlist_free(ctx->conda.conda_packages_defer);
- guard_strlist_free(ctx->conda.pip_packages);
- guard_strlist_free(ctx->conda.pip_packages_defer);
+ guard_strlist_free(&ctx->conda.conda_packages);
+ guard_strlist_free(&ctx->conda.conda_packages_defer);
+ guard_strlist_free(&ctx->conda.pip_packages);
+ guard_strlist_free(&ctx->conda.pip_packages_defer);
+ guard_strlist_free(&ctx->conda.wheels_packages);
for (size_t i = 0; i < sizeof(ctx->tests) / sizeof(ctx->tests[0]); i++) {
guard_free(ctx->tests[i].name);
@@ -1241,7 +1242,7 @@ void delivery_defer_packages(struct Delivery *ctx, int type) {
}
}
if (filtered) {
- strlist_free(filtered);
+ strlist_free(&filtered);
}
}