[asterisk-commits] file: branch 1.4 r48107 - in /branches/1.4: ./ main/rtp.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 29 09:50:34 MST 2006


Author: file
Date: Wed Nov 29 10:50:33 2006
New Revision: 48107

URL: http://svn.digium.com/view/asterisk?view=rev&rev=48107
Log:
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)

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/main/rtp.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=48107&r1=48106&r2=48107
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Wed Nov 29 10:50:33 2006
@@ -2597,6 +2597,8 @@
 			f = _f;
 		}
 		ast_rtp_raw_write(rtp, f, codec);
+		if (f != _f)
+			ast_frfree(f);
 	}
 		
 	return 0;



More information about the asterisk-commits mailing list