From f7c5256d363f33306f5dc57e2ad8823f656f5741 Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 29 Jun 2026 10:59:55 -0700 Subject: [PATCH] Intel QAT: fix heap argument in RSA public free --- wolfcrypt/src/port/intel/quickassist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/port/intel/quickassist.c b/wolfcrypt/src/port/intel/quickassist.c index 275851c807..5c6960e019 100644 --- a/wolfcrypt/src/port/intel/quickassist.c +++ b/wolfcrypt/src/port/intel/quickassist.c @@ -1737,7 +1737,7 @@ static void IntelQaRsaPublicFree(WC_ASYNC_DEV* dev) } if (outBuf) { if (outBuf->pData) { - XFREE(outBuf->pData, dev, DYNAMIC_TYPE_ASYNC_NUMA64); + XFREE(outBuf->pData, dev->heap, DYNAMIC_TYPE_ASYNC_NUMA64); outBuf->pData = NULL; } XMEMSET(outBuf, 0, sizeof(CpaFlatBuffer));