mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 11:17:29 +02:00
Fix from rebase
This commit is contained in:
@ -1141,6 +1141,10 @@ void wolfSSL_Free(void *ptr, void* heap, int type)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
mem = hint->memory;
|
mem = hint->memory;
|
||||||
|
if (mem == NULL) {
|
||||||
|
WOLFSSL_MSG("Bad hint pointer to memory");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* get memory struct and add it to available list */
|
/* get memory struct and add it to available list */
|
||||||
pt = (wc_Memory*)((byte*)ptr - sizeof(wc_Memory) - padSz);
|
pt = (wc_Memory*)((byte*)ptr - sizeof(wc_Memory) - padSz);
|
||||||
|
Reference in New Issue
Block a user