Don't free written frames in chan_mobile's mbl_write() function.
(closes issue #16430) Reported by: azbest Tested by: azbest git-svn-id: http://svn.digium.com/svn/asterisk/trunk@273312 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
dcca40902f
commit
51893339b9
|
@ -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);
|
||||
|
|
Reference in New Issue