From 2d21a036fe77aef67d76b03d211b76c0f4789152 Mon Sep 17 00:00:00 2001 From: "seungha.son" Date: Thu, 30 Jun 2016 10:19:56 +0900 Subject: [PATCH] [UTC][notification][Non-ACR][Fix memory leak] Signed-off-by: seungha.son Change-Id: I79ca6ef49df44bba1d9010de67ba0334c08d53ec --- src/utc/notification/utc-notification.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/utc/notification/utc-notification.c b/src/utc/notification/utc-notification.c index 5e766a1..ddcf6c9 100755 --- a/src/utc/notification/utc-notification.c +++ b/src/utc/notification/utc-notification.c @@ -108,10 +108,15 @@ void utc_notification_startup(void) void utc_notification_cleanup(void) { notification_h notification = NULL; - notification = notification_load_by_tag(TEST_TAG_FOR_NOTI); + notification_h notification_ongoing = NULL; + notification = notification_load_by_tag(TEST_TAG_FOR_NOTI); notification_delete(notification); notification_free(notification); + + notification_ongoing = notification_load_by_tag(TEST_TAG_FOR_ONGOING); + notification_delete(notification_ongoing); + notification_free(notification_ongoing); } /** -- 2.7.4