diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-01-28 10:39:12 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-01-28 10:39:12 -0500 |
commit | 8b06e3e66a4cf26c02f9e0175263e1a561186c1b (patch) | |
tree | 8bac5ec5215066ef1fdff4edfd06857324b40f91 /src/spm.c | |
parent | 38ef2cc6dff14f37050ea40ae62e4aea9863c805 (diff) | |
download | spmc-8b06e3e66a4cf26c02f9e0175263e1a561186c1b.tar.gz |
Remove md5sum function
* Fix a few glaring memory leaks
Diffstat (limited to 'src/spm.c')
-rw-r--r-- | src/spm.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -174,6 +174,12 @@ int main(int argc, char *argv[], char *arge[]) { runtime_set(rt, "LDFLAGS", "-Wl,-rpath $SPM_LIB:$${ORIGIN}/lib -L$SPM_LIB $LDFLAGS"); runtime_apply(rt); + free(spm_binpath); + free(spm_includepath); + free(spm_libpath); + free(spm_datapath); + free(spm_manpath); + if (RUNTIME_INSTALL) { Dependencies *deps = NULL; dep_init(&deps); |