diff --git a/src/x509_str.c b/src/x509_str.c index 9b90c4b72..dfb11fb02 100644 --- a/src/x509_str.c +++ b/src/x509_str.c @@ -869,6 +869,7 @@ void wolfSSL_X509_STORE_free(WOLFSSL_X509_STORE* store) store->lookup.dirs = NULL; } #endif + wolfSSL_RefFree(&store->ref); XFREE(store, NULL, DYNAMIC_TYPE_X509_STORE); } }