Explorar el Código

PKI: Correctly free the issuer list

Julius Pfrommer hace 4 años
padre
commit
c043775cd0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;
 }