From 1aa2b0c398b9ceb7b6545b5542afa26b5b190ea4 Mon Sep 17 00:00:00 2001 From: liukai Date: Thu, 24 Jul 2025 10:56:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E4=BF=AE=E6=94=B9=20revert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liukai --- frameworks/src/core/base/dft_impl.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frameworks/src/core/base/dft_impl.cpp b/frameworks/src/core/base/dft_impl.cpp index 28b2774e..0a96428d 100644 --- a/frameworks/src/core/base/dft_impl.cpp +++ b/frameworks/src/core/base/dft_impl.cpp @@ -87,11 +87,6 @@ void DftImpl::CallbackPageReplaced(int state, const char *param) value.routerPath = DftImpl::GetPagePath(); pageInfoFunc_(value); ACE_FREE(paramValue); - if (value.routerPath != nullptr) { - char *nonConstRouterPath = const_cast(value.routerPath); - ACE_FREE(nonConstRouterPath); - value.routerPath = nullptr; - } } } // namespace ACELite } // namespace OHOS -- Gitee