From: Alexander Anikin Date: Mon, 7 Sep 2015 18:19:41 +0000 (+0400) Subject: chan_ooh323: call ast_rtp_instance_stop on ooh323_destroy X-Git-Tag: 11.20.0-rc1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F1209%2F1;p=thirdparty%2Fasterisk.git 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 --- diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index 90cb9098bf..4297abd94f 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -4080,6 +4080,7 @@ int ooh323_destroy(struct ooh323_pvt *p) } if (cur->rtp) { + ast_rtp_instance_stop(cur->rtp); ast_rtp_instance_destroy(cur->rtp); cur->rtp = NULL; }