[asterisk-commits] rmudgett: branch 1.8 r357809 - /branches/1.8/apps/app_chanspy.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 2 09:45:47 CST 2012
Author: rmudgett
Date: Fri Mar 2 09:45:45 2012
New Revision: 357809
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=357809
Log:
Fix channel reference leak in ChanSpy.
* Fix next_channel() channel reference leak in ChanSpy.
(closes issue ASTERISK-19461)
Reported by: Irontec
Patches:
app_chanspy_iteartor_next_unref.patch (license #6213) patch uploaded by Irontec
(issue ASTERISK-17515)
Modified:
branches/1.8/apps/app_chanspy.c
Modified: branches/1.8/apps/app_chanspy.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_chanspy.c?view=diff&rev=357809&r1=357808&r2=357809
==============================================================================
--- branches/1.8/apps/app_chanspy.c (original)
+++ branches/1.8/apps/app_chanspy.c Fri Mar 2 09:45:45 2012
@@ -745,8 +745,10 @@
}
if (!strncmp(next->name, "DAHDI/pseudo", pseudo_len)) {
+ ast_channel_unref(next);
goto redo;
} else if (next == chan) {
+ ast_channel_unref(next);
goto redo;
}
More information about the asterisk-commits
mailing list