diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-02 13:44:10 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-02 18:55:46 -0400 |
commit | 977399bb759aacd2a18ba76df78078ee4cee6e67 (patch) | |
tree | e1436edde5df9f092ee6c43f48b02c76391c652d /src/conda.c | |
parent | cfdf0e333d240526436aff5f886a1da6a0959bce (diff) | |
download | stasis-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.c | 4 |
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; |