From 0c6932eeb40dbad8a8e82f3bbd3f3021ed7513eb Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 31 Aug 2006 20:39:12 +0000 Subject: 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 ... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41629 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/iax2-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels') diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c index 56c45e242..018619439 100644 --- a/channels/iax2-parser.c +++ b/channels/iax2-parser.c @@ -1007,7 +1007,7 @@ static void frame_cache_cleanup(void *data) struct iax_frame *cur; while ((cur = AST_LIST_REMOVE_HEAD(frames, list))) - __iax_frame_free(cur, 0); + free(cur); free(frames); } -- cgit v1.2.3