git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4419 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2007-03-01 17:23:02 +00:00
1 parent c612d4226b
commit ed76b25241
5 files changed
+17 -25

No files matched your search

@@ -1045,9 +1045,14 @@ static switch_status_t load_config(void)
SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void)
{
switch_core_codec_destroy(&globals.read_codec);
switch_core_codec_destroy(&globals.write_codec);
if (globals.read_codec.implementation) {
switch_core_codec_destroy(&globals.read_codec);
}
if (globals.write_codec.implementation) {
switch_core_codec_destroy(&globals.write_codec);
}
Pa_Terminate();
return SWITCH_STATUS_SUCCESS;