Skip to content

Commit ce9d0e2

Browse files
authored
Merge pull request #8047 from ColtonWilley/x509_store_free_ref
Free X509 store ref on store free
2 parents e6dac68 + b4146ba commit ce9d0e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/x509_str.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,7 @@ void wolfSSL_X509_STORE_free(WOLFSSL_X509_STORE* store)
869869
store->lookup.dirs = NULL;
870870
}
871871
#endif
872+
wolfSSL_RefFree(&store->ref);
872873
XFREE(store, NULL, DYNAMIC_TYPE_X509_STORE);
873874
}
874875
}

0 commit comments

Comments
 (0)