From: Suyeon Hwang Date: Tue, 3 Jan 2017 03:33:20 +0000 (+0900) Subject: [ITC][voice-control][ACR-796][Fix ITc_vc_get_system_command_list_p] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fca3e28f91ac8647d3e2c3861090b75ceb9759d7;p=test%2Ftct%2Fnative%2Fapi.git [ITC][voice-control][ACR-796][Fix ITc_vc_get_system_command_list_p] Change-Id: I1d458a57106447cccaa895a4c794e887285aa9ab Signed-off-by: Suyeon Hwang --- diff --git a/src/itc/voice-control/ITs-voice-control.c b/src/itc/voice-control/ITs-voice-control.c index d352a6bb9..130f38077 100755 --- a/src/itc/voice-control/ITs-voice-control.c +++ b/src/itc/voice-control/ITs-voice-control.c @@ -1102,7 +1102,8 @@ int ITc_vc_get_system_command_list_p(void) // Target API nRet = vc_get_system_command_list(&h_List); PRINT_RESULT_CLEANUP(VC_ERROR_NONE, nRet, "vc_get_system_command_list", VoiceControlGetError(nRet), vc_unprepare();vc_unset_state_changed_cb()); - CHECK_HANDLE_CLEANUP(h_List, "vc_get_system_command_list", vc_unprepare();vc_unset_state_changed_cb()) + vc_unprepare(); + vc_unset_state_changed_cb(); FREE_MEMORY(h_List);