Commit 770a2ac6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix double-free

parent 18cfb8ae
......@@ -1169,9 +1169,9 @@ static int OpenServer (vlc_object_t *obj)
val = gnutls_certificate_set_x509_key_file (p_sys->x509_cred,
psz_local_cert, psz_local_key,
GNUTLS_X509_FMT_PEM );
LocaleFree (psz_key_path);
LocaleFree (psz_local_key);
free (psz_key_path);
LocaleFree (psz_cert_path);
LocaleFree (psz_local_cert);
free (psz_cert_path);
if( val < 0 )
......
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