mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
res_pjsip: Endpoint destruction does not free DTLS configuration
ASTERISK-27679 #close Reported by: Mak Dee Change-Id: I89a2783a11be0763bf123d1619ed176b6225cf42
This commit is contained in:
@@ -2193,6 +2193,7 @@ static void info_configuration_destroy(struct ast_sip_endpoint_info_configuratio
|
||||
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user