diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-08 04:40:35 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-08 04:40:35 +0000 |
commit | 6141af12a6f37ccb1059c6376f942ca6d819e816 (patch) | |
tree | 2b24a442016e232c87d6c3185831c2246eadb0a5 /channel.c | |
parent | b0cc85450a031b8597da4e3f23675aa1153da290 (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-x | channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |