From 480c443e2691272a7227e0949244e80e53bc31b2 Mon Sep 17 00:00:00 2001 From: Alexander Anikin Date: Mon, 7 Sep 2015 22:19:41 +0400 Subject: 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 --- addons/chan_ooh323.c | 1 + 1 file changed, 1 insertion(+) (limited to 'addons') 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; } -- cgit v1.2.3