mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-29 18:11:33 +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:
parent
df8f7f4639
commit
4ed1433cc6
@ -172,7 +172,8 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
end:
|
end:
|
||||||
|
|
||||||
switch_core_destroy();
|
switch_safe_free(SWITCH_GLOBAL_dirs.mod_dir);
|
||||||
|
//switch_core_destroy();
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user