From 79b1fcc05e214ac8798f2497010125962b738e42 Mon Sep 17 00:00:00 2001 From: wufarong Date: Wed, 16 Apr 2025 09:15:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=9C=AA=E9=87=8A=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wufarong --- services/ans/src/advanced_notification_live_view_service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/ans/src/advanced_notification_live_view_service.cpp b/services/ans/src/advanced_notification_live_view_service.cpp index 55e622acb..ecc8f3151 100644 --- a/services/ans/src/advanced_notification_live_view_service.cpp +++ b/services/ans/src/advanced_notification_live_view_service.cpp @@ -305,6 +305,7 @@ int32_t AdvancedNotificationService::GetNotificationRequestFromDb( } auto *bundleOption = NotificationJsonConverter::ConvertFromJson(jsonObject); if (bundleOption == nullptr) { + delete request; ANS_LOGE("Parse json string to bundle option failed, str: %{public}s.", value.c_str()); return ERR_ANS_TASK_ERR; } -- Gitee