[asterisk-commits] russell: trunk r41629 -
/trunk/channels/iax2-parser.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Aug 31 13:39:12 MST 2006
Author: russell
Date: Thu Aug 31 15:39:12 2006
New Revision: 41629
URL: http://svn.digium.com/view/asterisk?rev=41629&view=rev
Log:
there is no need to use iax_frame_free here, as it will actually just end up
having a bunch of erroneous messages about attempting to double free frames
spammed to the console. Problem reported to me by file ...
Modified:
trunk/channels/iax2-parser.c
Modified: trunk/channels/iax2-parser.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/iax2-parser.c?rev=41629&r1=41628&r2=41629&view=diff
==============================================================================
--- trunk/channels/iax2-parser.c (original)
+++ trunk/channels/iax2-parser.c Thu Aug 31 15:39:12 2006
@@ -1007,7 +1007,7 @@
struct iax_frame *cur;
while ((cur = AST_LIST_REMOVE_HEAD(frames, list)))
- __iax_frame_free(cur, 0);
+ free(cur);
free(frames);
}
More information about the asterisk-commits
mailing list