Merge pull request #8047 from ColtonWilley/x509_store_free_ref

Free X509 store ref on store free
This commit is contained in:
Daniel Pouzzner
2024-10-08 15:25:16 -05:00
committed by GitHub

View File

@ -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);
}
}