Merged revisions 48107 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r48107 | file | 2006-11-29 11:50:33 -0500 (Wed, 29 Nov 2006) | 10 lines

Merged revisions 48106 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r48106 | file | 2006-11-29 11:47:10 -0500 (Wed, 29 Nov 2006) | 2 lines

If the frame was duplicated before writing out then we need to free it. (issue #8429 reported by edguy3)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Joshua Colp 19 years ago
parent 8ca3d51634
commit d44b349211

@ -2665,6 +2665,8 @@ int ast_rtp_write(struct ast_rtp *rtp, struct ast_frame *_f)
else else
f = _f; f = _f;
ast_rtp_raw_write(rtp, f, codec); ast_rtp_raw_write(rtp, f, codec);
if (f != _f)
ast_frfree(f);
} }
return 0; return 0;

Loading…
Cancel
Save