From: ABHISHEK JAIN Date: Wed, 18 Sep 2019 09:07:29 +0000 (+0530) Subject: [ITC][notification][NonACR][TFDF-5048 TC crash issue fixed] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e340d7397c4169cd1f5a373d90bae6ed28fa2eab;p=test%2Ftct%2Fnative%2Fapi.git [ITC][notification][NonACR][TFDF-5048 TC crash issue fixed] Change-Id: Id353310f9382f49b90afde37db8cd2b7b71b6703 Signed-off-by: ABHISHEK JAIN --- diff --git a/src/itc/notification/ITs-notification-ex.c b/src/itc/notification/ITs-notification-ex.c index af51f45f5..8d8dc38c6 100644 --- a/src/itc/notification/ITs-notification-ex.c +++ b/src/itc/notification/ITs-notification-ex.c @@ -2553,12 +2553,12 @@ int ITc_noti_ex_item_set_get_led_info_p(void) nRet = noti_ex_led_info_destroy(hGetLedInfo); PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_led_info_destroy", NotificationExGetError(nRet)); - nRet = noti_ex_item_destroy(g_hItemButton); - PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_item_destroy", NotificationExGetError(nRet)); - nRet = noti_ex_led_info_destroy(hSetLedInfo); PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_led_info_destroy", NotificationExGetError(nRet)); + nRet = noti_ex_item_destroy(g_hItemButton); + PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_item_destroy", NotificationExGetError(nRet)); + nRet = noti_ex_color_destroy(hColor); PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_color_destroy", NotificationExGetError(nRet)); @@ -2780,7 +2780,7 @@ int ITc_noti_ex_item_set_get_tag_p(void) START_TEST; int nRet = NOTI_EX_ERROR_NONE; - const char *pszSetTag = "testTag"; + const char *pszSetTag = "testTag_ONE"; char *pszGetTag = NULL; nRet = CreateButton();