summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorAlexander Anikin <may213@yandex.ru>2015-09-07 22:19:41 +0400
committerAlexander Anikin <may213@yandex.ru>2015-09-07 13:48:08 -0500
commitd2106c0b21e2e4d53eb177d1d271c30c362700f1 (patch)
tree671a86c07fa121d3d9a15eeebec92b5ae19111d3 /addons
parenta79527ca64bce74ac66b8a4de43d82b2e9e7a07c (diff)
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
Diffstat (limited to 'addons')
-rw-r--r--addons/chan_ooh323.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c
index 58db56fb7..aa9cbaffa 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;
}