mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
update dynamic type when freeing bio mem
This commit is contained in:
@@ -966,7 +966,7 @@ int wolfSSL_BIO_reset(WOLFSSL_BIO *bio)
|
|||||||
bio->rdIdx = 0;
|
bio->rdIdx = 0;
|
||||||
bio->wrIdx = 0;
|
bio->wrIdx = 0;
|
||||||
bio->wrSz = 0;
|
bio->wrSz = 0;
|
||||||
XFREE(bio->mem, bio->heap, DYNAMIC_TYPE_BIO);
|
XFREE(bio->mem, bio->heap, DYNAMIC_TYPE_OPENSSL);
|
||||||
bio->mem = NULL;
|
bio->mem = NULL;
|
||||||
bio->memLen = 0;
|
bio->memLen = 0;
|
||||||
if (bio->mem_buf != NULL) {
|
if (bio->mem_buf != NULL) {
|
||||||
|
Reference in New Issue
Block a user