From 8692b537d940da75520d88d8e42ca40ea39fecd5 Mon Sep 17 00:00:00 2001 From: gzbkey <137055699+gzbkey@users.noreply.github.com> Date: Wed, 29 Apr 2026 11:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=5F=5Farm=5F2d=5Fallocate=5Fscratch=5Fmemory?= =?UTF-8?q?=E3=80=81=5F=5Farm=5F2d=5Ffree=5Fscratch=5Fmemory=E9=85=8D?= =?UTF-8?q?=E5=A5=97=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Source/arm_2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Source/arm_2d.c b/Library/Source/arm_2d.c index dd9e51b9d..be82e059d 100644 --- a/Library/Source/arm_2d.c +++ b/Library/Source/arm_2d.c @@ -295,7 +295,7 @@ void __arm_2d_log_printf(int32_t nIndentLevel, __ARM_2D_PORT_PRINTF__("%s", pchStringBuffer); - free(pchStringBuffer); + __arm_2d_free_scratch_memory(ARM_2D_MEM_TYPE_FAST,pchStringBuffer); } else { __ARM_2D_PORT_PRINTF__("[Insufficient memory for logging]%s", pchFormatString); }