From d92f8405982d57d9e0f578b3d2dcff1899f2a3bc Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Tue, 16 Feb 2021 10:25:42 +0900 Subject: [PATCH] Fix typo Change-Id: I802a3725f7e9e4331c11a468ed06ca168d52521c Signed-off-by: Jihoon Kim --- src/w-input-smartreply.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/w-input-smartreply.cpp b/src/w-input-smartreply.cpp index 8a758af..ba44b8e 100644 --- a/src/w-input-smartreply.cpp +++ b/src/w-input-smartreply.cpp @@ -77,7 +77,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) PRINTFUNC(DLOG_ERROR, "can not destroy list : %d", ret); } @@ -190,7 +190,7 @@ bool input_smartreply_init(app_control_h app_control) 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) PRINTFUNC(DLOG_ERROR, "can not destroy list : %d", ret); } @@ -247,7 +247,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) PRINTFUNC(DLOG_ERROR, "can not destroy list : %d", ret); } @@ -299,7 +299,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) PRINTFUNC(DLOG_ERROR, "can not destroy list : %d", ret); } -- 2.7.4