[Asterisk-code-review] main/channel.c: continue scheduling timer when channel emula... (asterisk[15.5])

Hajek Michal asteriskteam at digium.com
Thu Aug 16 06:24:45 CDT 2018


Hajek Michal has uploaded this change for review. ( https://gerrit.asterisk.org/9893


Change subject: main/channel.c: continue scheduling timer when channel emulate ring (ari)
......................................................................

main/channel.c: continue scheduling timer when channel emulate ring (ari)

ASTERISK-28005
Reported-by: Michal Hajek

Change-Id: I3a4a4bc515b040a78f5012c9046a8aa9a3eb4d62
---
M main/channel.c
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/93/9893/1

diff --git a/main/channel.c b/main/channel.c
index 140d8e9..6d26f75 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -4153,6 +4153,8 @@
 			if (ast_channel_writetrans(chan)) {
 				ast_translate(ast_channel_writetrans(chan), f, 0);
 			}
+			ast_frfree(f);
+			f = &ast_null_frame;
 			break;
 		default:
 			/* Just pass it on! */

-- 
To view, visit https://gerrit.asterisk.org/9893
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15.5
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a4a4bc515b040a78f5012c9046a8aa9a3eb4d62
Gerrit-Change-Number: 9893
Gerrit-PatchSet: 1
Gerrit-Owner: Hajek Michal <michal.hajek at daktela.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180816/82845581/attachment.html>


More information about the asterisk-code-review mailing list