ref: 24d4bb8b96debd999d0451e5a319c45a581ddff1
parent: bcf6b58eaae611bd55f5b37b218df42920910e26
author: Ulrich Klauer <ulrich@chirlu.de>
date: Sun Jan 8 19:03:55 EST 2012
Free duplicated strings Some strings duplicated with (lsx_)strdup were not freed properly, causing a memory leak. Fix this.
--- a/src/sox.c
+++ b/src/sox.c
@@ -250,6 +250,12 @@
free(user_efftab);
+ free(sox_globals.tmp_path);
+ sox_globals.tmp_path = NULL;
+
+ free(play_rate_arg);
+ free(effects_filename);
+
sox_quit();
}