Browse Source

PKI: Correctly free the issuer list

Julius Pfrommer 4 years ago
parent
commit
c043775cd0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/ua_pki_default.c

+ 1 - 0
plugins/ua_pki_default.c

@@ -346,6 +346,7 @@ certificateVerification_deleteMembers(UA_CertificateVerification *cv) {
         return;
     mbedtls_x509_crt_free(&ci->certificateTrustList);
     mbedtls_x509_crl_free(&ci->certificateRevocationList);
+    mbedtls_x509_crt_free(&ci->certificateIssuerList);
     UA_free(ci);
     cv->context = NULL;
 }