summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors414kim <s414.kim@samsung.com>2017-07-04 10:51:02 +0900
committers414kim <s414.kim@samsung.com>2017-07-04 10:51:02 +0900
commit684c188048de5552b5a12231f26409c7a620a61e (patch)
treec3230b6bec8e2e866c01fe88f74360f18c47b845
parent3df5d63f92769b0c8004b02f569cbb0ea54e250c (diff)
downloadlibkrate-tizen_4.0_tv.tar.gz
libkrate-tizen_4.0_tv.tar.bz2
libkrate-tizen_4.0_tv.zip
Change-Id: I0d32bf2435ddf380485a4555061346b1d5b803cb Signed-off-by: s414kim <s414.kim@samsung.com>
-rw-r--r--tools/apps/setup-wizard/src/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/apps/setup-wizard/src/util.c b/tools/apps/setup-wizard/src/util.c
index 4813f33..52485de 100644
--- a/tools/apps/setup-wizard/src/util.c
+++ b/tools/apps/setup-wizard/src/util.c
@@ -133,6 +133,7 @@ static int __set_notification(notification_h noti_handle, app_control_h app_cont
text = noti_text[0];
else
text = noti_text[1];
+ free(mode);
ret = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_TITLE, __(text[0]), NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
if (ret != NOTIFICATION_ERROR_NONE)
@@ -143,6 +144,7 @@ static int __set_notification(notification_h noti_handle, app_control_h app_cont
return -1;
snprintf(noti_content_text, PATH_MAX, __(text[1]), krate_name);
+ free(krate_name);
ret = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_CONTENT, noti_content_text, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
if (ret != NOTIFICATION_ERROR_NONE)