Fix typo 09/253609/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Feb 2021 01:15:07 +0000 (10:15 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Feb 2021 04:08:06 +0000 (13:08 +0900)
Change-Id: I218e7ee52fb09356fea8fbc197a40ba7b55e02c8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/w-input-smartreply.cpp

index ad13844..6f30c36 100644 (file)
@@ -65,7 +65,7 @@ static void _input_smartreply_get_reply_callback(int handle, int error,
     if (g_input_smartreply_data->candidate_list) {
         int ret;
 
-        ret = smartreply_service_destory_list(g_input_smartreply_data->candidate_list);
+        ret = smartreply_service_destroy_list(g_input_smartreply_data->candidate_list);
         if (ret != SMARTREPLY_ERROR_NONE)
             LOGD("can not destroy list : %d", ret);
     }
@@ -116,7 +116,7 @@ bool input_smartreply_init(char *caller_id, char *sender, char *message)
         free(g_input_smartreply_data->lang);
 
     if (g_input_smartreply_data->candidate_list) {
-        ret = smartreply_service_destory_list(g_input_smartreply_data->candidate_list);
+        ret = smartreply_service_destroy_list(g_input_smartreply_data->candidate_list);
         if (ret != SMARTREPLY_ERROR_NONE)
             LOGD("can not destroy list : %d", ret);
     }
@@ -149,7 +149,7 @@ void input_smartreply_deinit(void)
     if (g_input_smartreply_data->candidate_list) {
         int ret;
 
-        ret = smartreply_service_destory_list(g_input_smartreply_data->candidate_list);
+        ret = smartreply_service_destroy_list(g_input_smartreply_data->candidate_list);
         if (ret != SMARTREPLY_ERROR_NONE)
             LOGD("can not destroy list : %d", ret);
     }
@@ -196,7 +196,7 @@ bool input_smartreply_get_reply(void)
     }
 
     if (g_input_smartreply_data->candidate_list) {
-        ret = smartreply_service_destory_list(g_input_smartreply_data->candidate_list);
+        ret = smartreply_service_destroy_list(g_input_smartreply_data->candidate_list);
         if (ret != SMARTREPLY_ERROR_NONE)
             LOGD("can not destroy list : %d", ret);
     }