diff options
-rw-r--r-- | tools/apps/setup-wizard/src/util.c | 2 |
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) |