diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-31 20:39:12 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-31 20:39:12 +0000 |
commit | 405acc236867c6f3fc651b6058076dae262e6a36 (patch) | |
tree | bebc4cc3e4533ce4096d7c920028a0d79471f57c /channels/iax2-parser.c | |
parent | b62bb5fe7574aca91bcc2fc03496761d1d1ef7fe (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@41629 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2-parser.c')
-rw-r--r-- | channels/iax2-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |