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

Sean Bright asteriskteam at digium.com
Fri Feb 16 13:38:14 CST 2018


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


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/42/8242/1

diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c
index d1bfdfe..3094f24 100644
--- a/res/res_pjsip/pjsip_configuration.c
+++ b/res/res_pjsip/pjsip_configuration.c
@@ -2193,6 +2193,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/8242
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I89a2783a11be0763bf123d1619ed176b6225cf42
Gerrit-Change-Number: 8242
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/5a50d672/attachment-0001.html>


More information about the asterisk-code-review mailing list