mirror of https://github.com/wolfSSL/wolfssh.git
fix wrapper macro usage
parent
d1d9c3da81
commit
106e349a23
|
@ -203,8 +203,8 @@ static void SshResourceFree(WOLFSSH* ssh, void* heap)
|
|||
ShrinkBuffer(&ssh->inputBuffer, 1);
|
||||
ShrinkBuffer(&ssh->outputBuffer, 1);
|
||||
if (ssh->handshake) {
|
||||
XMEMSET(ssh->handshake, 0, sizeof(HandshakeInfo));
|
||||
XFREE(ssh->handshake, heap, DYNTYPE_HS);
|
||||
WMEMSET(ssh->handshake, 0, sizeof(HandshakeInfo));
|
||||
WFREE(ssh->handshake, heap, DYNTYPE_HS);
|
||||
}
|
||||
if (ssh->rng) {
|
||||
/* FreeRng(ssh->rng); */
|
||||
|
|
Loading…
Reference in New Issue