Parcourir la source

PKI: Correctly free the issuer list

Julius Pfrommer il y a 4 ans
Parent
commit
c043775cd0
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;
 }