mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 12:38:09 +00:00
DTLS-SRTP fix memory leak
This commit is contained in:
parent
85ca8c3cac
commit
c95fd55126
2 changed files with 4 additions and 1 deletions
|
|
@ -1097,6 +1097,9 @@ void sal_certificates_chain_parse_directory(char **certificate_pem, char **key_p
|
|||
}
|
||||
/* generate the fingerprint as described in RFC4572 if needed */
|
||||
if ((generate_dtls_fingerprint == TRUE) && (fingerprint != NULL)) {
|
||||
if (*fingerprint != NULL) {
|
||||
ms_free(*fingerprint);
|
||||
}
|
||||
*fingerprint = belle_sip_certificates_chain_get_fingerprint(certificate);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit a27c77bdc96bbc4d727a5d6226a0587cbe8c5aa3
|
||||
Subproject commit d5389594e93c3499d70d9ddd556f9aac62aabc0a
|
||||
Loading…
Add table
Reference in a new issue