[Asterisk-code-review] chan ooh323: call ast rtp instance stop on ooh323 destroy (asterisk[11])

Alexander Anikin asteriskteam at digium.com
Mon Sep 7 13:41:12 CDT 2015


Alexander Anikin has uploaded a new change for review.

  https://gerrit.asterisk.org/1209

Change subject:     chan_ooh323: call ast_rtp_instance_stop on ooh323_destroy
......................................................................

chan_ooh323: call ast_rtp_instance_stop on ooh323_destroy

    Call ast_rtp_instance_stop on ooh323_destroy to free resources
    allocated by rtp instance

    ASTERISK-25299 #close
    Report by: Alexandr Dranchuk

Change-Id: I455096bd7da016b871afe90af86067c2c7c9f33f
---
M addons/chan_ooh323.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/09/1209/1

diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c
index 90cb909..4297abd 100644
--- a/addons/chan_ooh323.c
+++ b/addons/chan_ooh323.c
@@ -4080,6 +4080,7 @@
 		}
 
 		if (cur->rtp) {
+			ast_rtp_instance_stop(cur->rtp);
 			ast_rtp_instance_destroy(cur->rtp);
 			cur->rtp = NULL;
 		}

-- 
To view, visit https://gerrit.asterisk.org/1209
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I455096bd7da016b871afe90af86067c2c7c9f33f
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: Alexander Anikin <may213 at yandex.ru>



More information about the asterisk-code-review mailing list