aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cli/stasis_indexer/stasis_indexer_main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cli/stasis_indexer/stasis_indexer_main.c b/src/cli/stasis_indexer/stasis_indexer_main.c
index ef39394..86f7834 100644
--- a/src/cli/stasis_indexer/stasis_indexer_main.c
+++ b/src/cli/stasis_indexer/stasis_indexer_main.c
@@ -204,7 +204,7 @@ int main(const int argc, char *argv[]) {
const int current_index = optind;
if (optind < argc) {
rootdirs_total = argc - current_index;
- rootdirs = calloc(rootdirs_total + 1, sizeof(**rootdirs));
+ rootdirs = calloc(rootdirs_total + 1, sizeof(*rootdirs));
int i = 0;
while (optind < argc) {
@@ -391,8 +391,12 @@ int main(const int argc, char *argv[]) {
guard_free(destdir);
GENERIC_ARRAY_FREE(rootdirs);
guard_strlist_free(&metafiles);
+ guard_free(m.micromamba_prefix);
delivery_free(&ctx);
+ guard_free(local);
globals_free();
+
msg(STASIS_MSG_L1, "Done!\n");
+
return 0;
}