Skip to content

Commit

Permalink
Merge pull request #8047 from ColtonWilley/x509_store_free_ref
Browse files Browse the repository at this point in the history
Free X509 store ref on store free
  • Loading branch information
douzzer authored Oct 8, 2024
2 parents e6dac68 + b4146ba commit ce9d0e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/x509_str.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit ce9d0e2

Please sign in to comment.