test_pkcs7: use XFREE instead of free.

This commit is contained in:
jordan
2026-04-06 13:53:11 -05:00
parent 1cd8edb3ec
commit f48fd9595d
+1 -1
View File
@@ -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();