mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 19:20:49 +02:00
test_pkcs7: use XFREE instead of free.
This commit is contained in:
@@ -4718,7 +4718,7 @@ int test_wc_PKCS7_DecodeCompressedData(void)
|
||||
XFREE(decompressed, heap, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
|
||||
if (cert_buf != NULL)
|
||||
free(cert_buf);
|
||||
XFREE(cert_buf, NULL, DYNAMIC_TYPE_TMP_BUFFER);
|
||||
wc_PKCS7_Free(pkcs7);
|
||||
#endif
|
||||
return EXPECT_RESULT();
|
||||
|
||||
Reference in New Issue
Block a user