From ba437013fcaa91fcb80eef8e31c6257957d5070f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=AD=90=E6=81=92?= Date: Mon, 14 Jul 2025 17:23:57 +0800 Subject: [PATCH] add fianlizecallback to 6.0beta MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 魏子恒 --- .../js/src/mod_fs/class_atomicfile/atomicfile_n_exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/class_atomicfile/atomicfile_n_exporter.cpp b/interfaces/kits/js/src/mod_fs/class_atomicfile/atomicfile_n_exporter.cpp index 6958df62b..a2430a1dc 100644 --- a/interfaces/kits/js/src/mod_fs/class_atomicfile/atomicfile_n_exporter.cpp +++ b/interfaces/kits/js/src/mod_fs/class_atomicfile/atomicfile_n_exporter.cpp @@ -54,7 +54,7 @@ struct BufferData { static void FinalizeCallback(napi_env env, void *finalizeData, void *finalizeHint) { - BufferData *bufferData = static_cast(finalizeData); + BufferData *bufferData = static_cast(finalizeHint); delete bufferData; } -- Gitee