[asterisk-commits] file: branch file/bridging r81330 - /team/file/bridging/bridges/bridge_zaptel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 28 21:35:02 CDT 2007
Author: file
Date: Tue Aug 28 21:35:02 2007
New Revision: 81330
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81330
Log:
Whoops... fix huge memory leak. We don't need to duplicate the audio frame being written out to the channel in bridge_zaptel.
Modified:
team/file/bridging/bridges/bridge_zaptel.c
Modified: team/file/bridging/bridges/bridge_zaptel.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/bridges/bridge_zaptel.c?view=diff&rev=81330&r1=81329&r2=81330
==============================================================================
--- team/file/bridging/bridges/bridge_zaptel.c (original)
+++ team/file/bridging/bridges/bridge_zaptel.c Tue Aug 28 21:35:02 2007
@@ -223,7 +223,7 @@
.samples = (bridge_channel->chan->readformat == AST_FORMAT_SLINEAR ? res/2 : res),
.offset = AST_FRIENDLY_OFFSET,
};
- ast_write(bridge_channel->chan, ast_frdup(&out_frame));
+ ast_write(bridge_channel->chan, &out_frame);
}
return 0;
More information about the asterisk-commits
mailing list