diff --git a/channel.c b/channel.c index 40f73b843ae67602b014ff78c4bbfd8bed81fbf6..3640dd11cb93ba467f816131fcc0ce8114520b2a 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;