diff options
author | Matthew Nicholson <mnicholson@digium.com> | 2010-07-01 12:57:18 +0000 |
---|---|---|
committer | Matthew Nicholson <mnicholson@digium.com> | 2010-07-01 12:57:18 +0000 |
commit | 57d9f8e42d78ad942e2b3906cd2b9e9a1ae6e42c (patch) | |
tree | a863070a22e26ad27845523e32a732c829cffa73 /addons/chan_mobile.c | |
parent | 2dc3b3a8c2a4d66a97a94517fa61c248b4c16056 (diff) |
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
Diffstat (limited to 'addons/chan_mobile.c')
-rw-r--r-- | addons/chan_mobile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/chan_mobile.c b/addons/chan_mobile.c index 216a12c0b..ca3e62293 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); |