1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-18 17:41:53 +00:00

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 committed by Mike Jerris
parent f45b19d53e
commit 01c1060688

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