FS-7519: CID:1294454 fix leak

This commit is contained in:
Seven Du authored and Michael Jerris committed 2015-05-28 12:47:35 -05:00
1 parent 4dfbbc6742
commit 143c1eb504
1 file changed
+2
+2
View File
@@ -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);
}