aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-08 04:40:35 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-08 04:40:35 +0000
commit6141af12a6f37ccb1059c6376f942ca6d819e816 (patch)
tree2b24a442016e232c87d6c3185831c2246eadb0a5 /channel.c
parentb0cc85450a031b8597da4e3f23675aa1153da290 (diff)
Free the right frame in case of an overflow
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@979 f38db490-d61c-443f-a65b-d21fe96a405b
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;