Free X509 store ref on store free

This commit is contained in:
Colton Willey
2024-10-07 13:09:47 -07:00
parent bf29b68600
commit b4146bad18

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