[Asterisk-code-review] res pjsip: Endpoint destruction does not free DTLS configura... (asterisk[13])

Sean Bright asteriskteam at digium.com
Fri Feb 16 13:37:56 CST 2018


Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/8241


Change subject: res_pjsip: Endpoint destruction does not free DTLS configuration
......................................................................

res_pjsip: Endpoint destruction does not free DTLS configuration

ASTERISK-27679 #close
Reported by: Mak Dee

Change-Id: I89a2783a11be0763bf123d1619ed176b6225cf42
---
M res/res_pjsip/pjsip_configuration.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/41/8241/1

diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c
index 8bd1dbf..e88f019 100644
--- a/res/res_pjsip/pjsip_configuration.c
+++ b/res/res_pjsip/pjsip_configuration.c
@@ -2148,6 +2148,7 @@
 
 static void media_configuration_destroy(struct ast_sip_endpoint_media_configuration *media)
 {
+	ast_rtp_dtls_cfg_free(&media->rtp.dtls_cfg);
 	ast_string_field_free_memory(&media->rtp);
 	ast_string_field_free_memory(media);
 }

-- 
To view, visit https://gerrit.asterisk.org/8241
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I89a2783a11be0763bf123d1619ed176b6225cf42
Gerrit-Change-Number: 8241
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180216/33f951ec/attachment.html>


More information about the asterisk-code-review mailing list