summaryrefslogtreecommitdiff
path: root/channel.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-05-08 04:40:35 +0000
committerMark Spencer <markster@digium.com>2003-05-08 04:40:35 +0000
commit5e019a3df598ff14c532b148daf6138bba690e3a (patch)
tree2b24a442016e232c87d6c3185831c2246eadb0a5 /channel.c
parente34e97ef866725228f82a10f93ab1c6f8687cfb3 (diff)
Free the right frame in case of an overflow
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.c b/channel.c
index 40f73b843..3640dd11c 100755
--- a/channel.c
+++ b/channel.c
@@ -366,7 +366,7 @@ int ast_queue_frame(struct ast_channel *chan, struct ast_frame *fin, int lock)
CRASH;
} else {
ast_log(LOG_DEBUG, "Dropping voice to exceptionally long queue on %s\n", chan->name);
- ast_frfree(fin);
+ ast_frfree(f);
if (lock)
ast_pthread_mutex_unlock(&chan->lock);
return 0;