diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-26 10:03:34 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-26 10:03:34 -0500 |
commit | 924c8e9ae1bf1780447180ae717467d1beefc8fa (patch) | |
tree | 1601eb673dbdfb30e910f06087b3418b4ee46286 /src/main.c | |
parent | fc187bccb5856b2d6dd3816fc69ffe0001aa615d (diff) | |
download | stasis-924c8e9ae1bf1780447180ae717467d1beefc8fa.tar.gz |
Fixes several memory leaks
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -113,6 +113,15 @@ void globals_free() { guard_free(globals.conda_install_prefix) guard_strlist_free(globals.conda_packages) guard_strlist_free(globals.pip_packages) + guard_free(globals.sysconfdir) + guard_free(globals.jfrog.arch) + guard_free(globals.jfrog.os) + guard_free(globals.jfrog.repo) + guard_free(globals.jfrog.version) + guard_free(globals.jfrog.cli_major_ver) + guard_free(globals.jfrog.jfrog_artifactory_base_url) + guard_free(globals.jfrog.jfrog_artifactory_product) + guard_free(globals.jfrog.remote_filename) } int main(int argc, char *argv[], char *arge[]) { @@ -471,6 +480,7 @@ int main(int argc, char *argv[], char *arge[]) { delivery_free(&ctx); globals_free(); tpl_free(); + guard_free(config_input) msg(OMC_MSG_L1, "Done!\n"); return 0; |