From 8b06e3e66a4cf26c02f9e0175263e1a561186c1b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 28 Jan 2020 10:39:12 -0500 Subject: Remove md5sum function * Fix a few glaring memory leaks --- src/spm.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/spm.c') diff --git a/src/spm.c b/src/spm.c index e0eec10..806cbcd 100644 --- a/src/spm.c +++ b/src/spm.c @@ -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); -- cgit