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: 13.6.0-rc1~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F1210%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 6268ad05c4..ef67b78d7e 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -4115,6 +4115,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; }