Commit 47abd611 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

GnuTLS: fix invalid free when adding a CRL

(cherry picked from commit 378456a65441a465440a62ee40bfea53ff2d905d)
parent f8eedf5e
......@@ -1046,7 +1046,7 @@ gnutls_ServerAddCRL( tls_server_t *p_server, const char *psz_crl_path )
(p_server->p_sys))->x509_cred,
psz_local_path,
GNUTLS_X509_FMT_PEM );
LocaleFree( psz_crl_path );
LocaleFree( psz_local_path );
if( val < 0 )
{
msg_Err( p_server, "cannot add CRL (%s): %s", psz_crl_path,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment