mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 10:40:50 +02:00
remove unused tempBuf = NULL
This commit is contained in:
@@ -5693,7 +5693,6 @@ static int wc_PKCS7_HandleOctetStrings(wc_PKCS7* pkcs7, byte* in, word32 inSz,
|
||||
WOLFSSL_MSG("failed to grow content buffer.");
|
||||
if (tempBuf != NULL) {
|
||||
XFREE(tempBuf, pkcs7->heap, DYNAMIC_TYPE_PKCS7);
|
||||
tempBuf = NULL;
|
||||
}
|
||||
ret = MEMORY_E;
|
||||
break;
|
||||
@@ -5707,7 +5706,6 @@ static int wc_PKCS7_HandleOctetStrings(wc_PKCS7* pkcs7, byte* in, word32 inSz,
|
||||
pkcs7->stream->expected);
|
||||
if (tempBuf != NULL) {
|
||||
XFREE(tempBuf, pkcs7->heap, DYNAMIC_TYPE_PKCS7);
|
||||
tempBuf = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user