diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c index 75196299f42010e6fe07464c25ea8c27c00242fa..fdb0faa4ebe728af0d72ede4890e4afdd9d4320a 100644 --- a/modules/misc/gnutls.c +++ b/modules/misc/gnutls.c @@ -607,7 +607,6 @@ static int OpenServer (vlc_tls_creds_t *crd, const char *cert, const char *key) if (val < 0) { msg_Err (crd, "cannot load X.509 key: %s", gnutls_strerror (val)); - gnutls_certificate_free_credentials (sys->x509_cred); goto error; }