[asterisk-commits] jrose: trunk r394583 - /trunk/apps/confbridge/conf_chan_announce.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 17 13:26:21 CDT 2013
Author: jrose
Date: Wed Jul 17 13:26:19 2013
New Revision: 394583
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=394583
Log:
app_confbridge: Eliminate a reference leak for confbridge announcer channels
Modified:
trunk/apps/confbridge/conf_chan_announce.c
Modified: trunk/apps/confbridge/conf_chan_announce.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/confbridge/conf_chan_announce.c?view=diff&rev=394583&r1=394582&r2=394583
==============================================================================
--- trunk/apps/confbridge/conf_chan_announce.c (original)
+++ trunk/apps/confbridge/conf_chan_announce.c Wed Jul 17 13:26:19 2013
@@ -158,9 +158,6 @@
}
ast_clear_flag(&p->base, AST_UNREAL_CARETAKER_THREAD);
chan = p->base.chan;
- if (chan) {
- ast_channel_ref(chan);
- }
ao2_unlock(p);
ao2_ref(p, -1);
if (chan) {
More information about the asterisk-commits
mailing list