1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-05 18:13:27 +00:00

close fd on fsv_record

This commit is contained in:
Anthony Minessale 2012-07-12 14:01:19 -05:00
parent de4bf23d59
commit f5fe8bc5f6

@ -273,6 +273,11 @@ SWITCH_STANDARD_APP(record_fsv_function)
}
}
if (fd > -1) {
close(fd);
}
switch_core_session_set_read_codec(session, NULL);
switch_core_codec_destroy(&codec);