From 57d9f8e42d78ad942e2b3906cd2b9e9a1ae6e42c Mon Sep 17 00:00:00 2001 From: Matthew Nicholson Date: Thu, 1 Jul 2010 12:57:18 +0000 Subject: [PATCH] Don't free written frames in chan_mobile's mbl_write() function. (closes issue #16430) Reported by: azbest Tested by: azbest git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@273312 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- addons/chan_mobile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/chan_mobile.c b/addons/chan_mobile.c index 216a12c0b6..ca3e62293a 100644 --- a/addons/chan_mobile.c +++ b/addons/chan_mobile.c @@ -1154,7 +1154,6 @@ static int mbl_write(struct ast_channel *ast, struct ast_frame *frame) while ((f = ast_smoother_read(pvt->smoother))) { sco_write(pvt->sco_socket, f->data.ptr, f->datalen); - ast_frfree(f); } ast_mutex_unlock(&pvt->lock); -- 2.47.2