[svn-commits] tilghman: trunk r125277 - in /trunk: ./ main/rtp.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 26 06:02:12 CDT 2008


Author: tilghman
Date: Thu Jun 26 06:02:11 2008
New Revision: 125277

URL: http://svn.digium.com/view/asterisk?view=rev&rev=125277
Log:
Merged revisions 125276 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r125276 | tilghman | 2008-06-26 06:01:21 -0500 (Thu, 26 Jun 2008) | 7 lines

Check for rtcp structure before trying to delete schedule.
(closes issue #12872)
 Reported by: destiny6628
 Patches: 
       20080621__bug12872.diff.txt uploaded by Corydon76 (license 14)
 Tested by: destiny6628

........

Modified:
    trunk/   (props changed)
    trunk/main/rtp.c

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

Modified: trunk/main/rtp.c
URL: http://svn.digium.com/view/asterisk/trunk/main/rtp.c?view=diff&rev=125277&r1=125276&r2=125277
==============================================================================
--- trunk/main/rtp.c (original)
+++ trunk/main/rtp.c Thu Jun 26 06:02:11 2008
@@ -2585,7 +2585,9 @@
 
 void ast_rtp_stop(struct ast_rtp *rtp)
 {
-	AST_SCHED_DEL(rtp->sched, rtp->rtcp->schedid);
+	if (rtp->rtcp) {
+		AST_SCHED_DEL(rtp->sched, rtp->rtcp->schedid);
+	}
 	if (rtp->red) {
 		AST_SCHED_DEL(rtp->sched, rtp->red->schedid);
 		free(rtp->red);




More information about the svn-commits mailing list