From: Caisking <3449750381@qq.com> Date: Fri, 28 Jun 2024 05:12:05 +0000 (+0800) Subject: 补交 X-Git-Tag: release_V1.2.70_20241020_135402~933 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F396%2F5;p=mirrors%2FFD230.git 补交 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/heart_blood/health_service/health_service.cpp b/code/sdk/application/wearable/fd230app/nativeui/heart_blood/health_service/health_service.cpp index 88e3c23e6..2aef7b865 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/heart_blood/health_service/health_service.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/heart_blood/health_service/health_service.cpp @@ -146,6 +146,9 @@ namespace OHOS oxygen_root = root; } + // 释放 cJSON 对象内存 + cJSON_Delete(root); + // 关闭文件 inFile.close(); return true; }