[asterisk-commits] jdixon: branch jdixon/chan_usbradio-1.4 r140552 - /team/jdixon/chan_usbradio-...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Aug 31 16:06:22 CDT 2008
Author: jdixon
Date: Sun Aug 31 16:06:21 2008
New Revision: 140552
URL: http://svn.digium.com/view/asterisk?view=rev&rev=140552
Log:
Fixed a memory leak
Modified:
team/jdixon/chan_usbradio-1.4/dev-1.0/channels/chan_irlp.c
Modified: team/jdixon/chan_usbradio-1.4/dev-1.0/channels/chan_irlp.c
URL: http://svn.digium.com/view/asterisk/team/jdixon/chan_usbradio-1.4/dev-1.0/channels/chan_irlp.c?view=diff&rev=140552&r1=140551&r2=140552
==============================================================================
--- team/jdixon/chan_usbradio-1.4/dev-1.0/channels/chan_irlp.c (original)
+++ team/jdixon/chan_usbradio-1.4/dev-1.0/channels/chan_irlp.c Sun Aug 31 16:06:21 2008
@@ -530,6 +530,7 @@
ast->nativeformats = AST_FORMAT_ADPCM;
ast_log(LOG_NOTICE,"irlp channel format set to ADPCM\n");
}
+ free(cp);
ast_set_read_format(ast,ast->readformat);
ast_set_write_format(ast,ast->writeformat);
ast_log(LOG_NOTICE,"irlp node connected from %s\n", ip);
More information about the asterisk-commits
mailing list