dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
markster 2003-05-08 04:40:35 +00:00
parent b0cc85450a
commit 6141af12a6
1 changed files with 1 additions and 1 deletions

View File

@ -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;