[asterisk-commits] mmichelson: branch mmichelson/more_transfer r387786 - /team/mmichelson/more_t...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon May 6 16:33:03 CDT 2013
Author: mmichelson
Date: Mon May 6 16:33:01 2013
New Revision: 387786
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387786
Log:
Fix refcounting error in Bridge manager action.
Modified:
team/mmichelson/more_transfer/main/features.c
Modified: team/mmichelson/more_transfer/main/features.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/more_transfer/main/features.c?view=diff&rev=387786&r1=387785&r2=387786
==============================================================================
--- team/mmichelson/more_transfer/main/features.c (original)
+++ team/mmichelson/more_transfer/main/features.c Mon May 6 16:33:01 2013
@@ -7230,8 +7230,8 @@
const char *channela = astman_get_header(m, "Channel1");
const char *channelb = astman_get_header(m, "Channel2");
const char *playtone = astman_get_header(m, "Tone");
- struct ast_channel *chana = NULL;
- struct ast_channel *chanb = NULL;
+ RAII_VAR(struct ast_channel *, chana, NULL, ao2_cleanup);
+ RAII_VAR(struct ast_channel *, chanb, NULL, ao2_cleanup);
struct ast_bridge *bridge;
char buf[256];
More information about the asterisk-commits
mailing list