close fd on fsv_record
This commit is contained in:
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue