From 721d06f0efd935b3053c6b8d53ef37a9dc7c728d Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Mon, 28 Jul 2025 19:44:18 +0800 Subject: [PATCH] delete weakptr Signed-off-by: zhangzezhong --- frameworks/ets/ani/ani_common/src/ets_context_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ets/ani/ani_common/src/ets_context_utils.cpp b/frameworks/ets/ani/ani_common/src/ets_context_utils.cpp index 20642a066e5..53f6f3228d1 100644 --- a/frameworks/ets/ani/ani_common/src/ets_context_utils.cpp +++ b/frameworks/ets/ani/ani_common/src/ets_context_utils.cpp @@ -140,7 +140,7 @@ void Clean(ani_env *env, ani_object object) return; } if (ptr != 0) { - delete reinterpret_cast(ptr); + delete reinterpret_cast *>(ptr); } } -- Gitee