FS-9824 [tone2wav.c] Fix segfault on tone2wav

I checked fs_encode and saw that it terminates itself a bit differently, so I applied the same to tone2wav and the segfaults went away

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2016-12-07 17:01:51 +01:00
parent df8f7f4639
commit 4ed1433cc6

View File

@ -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;