mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-18 23:38:39 +00:00
FS-7721: [core] Fixed a segfault caused when using session:recordFile() and session:unsetInputCallback in a lua script
This commit is contained in:
1 parent
b9eff3b09a
commit
4fc6d2f732
1 file changed
+1
-1
+1
-1
@@ -1171,7 +1171,7 @@ SWITCH_DECLARE(int) CoreSession::recordFile(char *file_name, int time_limit, int
|
||||
local_fh.silence_hits = silence_hits;
|
||||
|
||||
begin_allow_threads();
|
||||
status = switch_ivr_record_file(session, &local_fh, file_name, &args, time_limit);
|
||||
status = switch_ivr_record_file(session, &local_fh, file_name, ap, time_limit);
|
||||
end_allow_threads();
|
||||
|
||||
fhp = NULL;
|
||||
|
||||
Reference in new issue
Block a user