diff --git a/src/tone2wav.c b/src/tone2wav.c index 9eed5d70a1..f71d77aeca 100644 --- a/src/tone2wav.c +++ b/src/tone2wav.c @@ -172,7 +172,8 @@ int main(int argc, char *argv[]) end: - switch_core_destroy(); + switch_safe_free(SWITCH_GLOBAL_dirs.mod_dir); + //switch_core_destroy(); return r;