From 17515af3ef7707f4effe0f14fc9e703e06800423 Mon Sep 17 00:00:00 2001 From: zhengkaijie <2658880633@qq.com> Date: Thu, 22 Dec 2022 10:30:54 +0800 Subject: [PATCH] Merge all library to libark_jsruntime.so Use static link of pandafile and pandabase Issue:#I671PL Test:addr error bugfix Signed-off-by: zhengkaijie <2658880633@qq.com> --- porting/linux/user/src/hook/musl_preinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/porting/linux/user/src/hook/musl_preinit.c b/porting/linux/user/src/hook/musl_preinit.c index 5b953925..66a668c6 100644 --- a/porting/linux/user/src/hook/musl_preinit.c +++ b/porting/linux/user/src/hook/musl_preinit.c @@ -562,7 +562,7 @@ static void __install_memleak_tracker_hook(int32_t sigNum, siginfo_t *info, void // __musl_log(__MUSL_LOG_ERROR, "%s: failed to enable malloc\n", getprogname()); clear_function_table(); } - if (memLeakTypeContent & ADDR_NATIVE_ENABLE) { + if (memLeakTypeContent & ADDR_NATIVE_CLEAR) { atomic_store_explicit(&__memleak_hook_flag, (volatile bool)false, memory_order_seq_cst); bool flag = __set_hook_flag(false); __set_default_malloc(); -- GitLab