Skip to content

Commit b4146ba

Browse files
committed
Free X509 store ref on store free
1 parent bf29b68 commit b4146ba

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)