[Asterisk-code-review] chan ooh323: call ast rtp instance stop on ooh323 destroy (asterisk[master])
    Alexander Anikin 
    asteriskteam at digium.com
       
    Mon Sep  7 13:48:08 CDT 2015
    
    
  
Alexander Anikin has uploaded a new change for review.
  https://gerrit.asterisk.org/1211
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/11/1211/1
diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c
index 58db56f..aa9cbaf 100644
--- a/addons/chan_ooh323.c
+++ b/addons/chan_ooh323.c
@@ -4115,6 +4115,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/1211
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I455096bd7da016b871afe90af86067c2c7c9f33f
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Alexander Anikin <may213 at yandex.ru>
    
    
More information about the asterisk-code-review
mailing list