fix wrapper macro usage

pull/1/head
John Safranek 2014-08-21 10:55:46 -07:00
parent d1d9c3da81
commit 106e349a23
1 changed files with 2 additions and 2 deletions

View File

@ -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); */