From ea392e590067ad76e5d0f1e8fae2d2b9b0bfb433 Mon Sep 17 00:00:00 2001 From: Ilya Trubachev Date: Tue, 5 Aug 2025 19:04:07 +0300 Subject: [PATCH] Fix memory leak Signed-off-by: Ilya Trubachev Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICRDLA --- ets2panda/util/importPathManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ets2panda/util/importPathManager.h b/ets2panda/util/importPathManager.h index 04c4742836..7f3a4f5f31 100644 --- a/ets2panda/util/importPathManager.h +++ b/ets2panda/util/importPathManager.h @@ -83,7 +83,7 @@ public: Language::Id lang {Language::Id::COUNT}; std::string_view resolvedSource {}; std::string_view declPath {}; - std::string ohmUrl {}; + std::string_view ohmUrl {}; std::string declText {}; // NOLINTEND(misc-non-private-member-variables-in-classes) -- Gitee