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
commit ce9d0e236c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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