mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 10:26:51 +00:00
FS-7519: CID:1294454 fix leak
This commit is contained in:
parent
4dfbbc6742
commit
143c1eb504
@ -906,6 +906,8 @@ SWITCH_STANDARD_APP(record_av_function)
|
||||
switch_core_session_set_read_codec(session, NULL);
|
||||
switch_core_codec_destroy(&codec);
|
||||
|
||||
if (buffer) switch_buffer_destroy(&buffer);
|
||||
|
||||
done:
|
||||
switch_core_session_video_reset(session);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user