diff options
author | Alexander Anikin <may213@yandex.ru> | 2015-09-07 22:19:41 +0400 |
---|---|---|
committer | Alexander Anikin <may213@yandex.ru> | 2015-09-07 13:47:42 -0500 |
commit | 480c443e2691272a7227e0949244e80e53bc31b2 (patch) | |
tree | f4fa14497ce0a6b799f065ea9978b89cf52b1f0a /addons | |
parent | 24be90c6d7806757c48331233133a74f7ad1482e (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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index 6268ad05c..ef67b78d7 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; } |