mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 04:16:43 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user