aboutsummaryrefslogtreecommitdiff
path: root/src/conda.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-02 13:44:10 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-02 18:55:46 -0400
commit977399bb759aacd2a18ba76df78078ee4cee6e67 (patch)
treee1436edde5df9f092ee6c43f48b02c76391c652d /src/conda.c
parentcfdf0e333d240526436aff5f886a1da6a0959bce (diff)
downloadstasis-977399bb759aacd2a18ba76df78078ee4cee6e67.tar.gz
Changes to strlist_*() functions:
Functions that modify the input StrList have been refactored to use `struct StrList **` instead of `struct StrList *`. * Fixes realloc error handling
Diffstat (limited to 'src/conda.c')
-rw-r--r--src/conda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conda.c b/src/conda.c
index 332049d..8b370a8 100644
--- a/src/conda.c
+++ b/src/conda.c
@@ -186,11 +186,11 @@ int conda_check_required() {
}
if (found < (sizeof(tools) / sizeof(*tools)) - 1) {
guard_free(cmd_out);
- guard_strlist_free(result);
+ guard_strlist_free(&result);
return 1;
}
guard_free(cmd_out);
- guard_strlist_free(result);
+ guard_strlist_free(&result);
} else {
msg(OMC_MSG_ERROR | OMC_MSG_L2, "The base package requirement check could not be performed\n");
return 2;