PRINT_RESULT_CLEANUP(NOTI_EX_ERROR_NONE, nRet, "noti_ex_item_get_led_info", NotificationExGetError(nRet), noti_ex_color_destroy(hColor); noti_ex_led_info_destroy(hSetLedInfo); noti_ex_item_destroy(g_hItemButton));
CHECK_HANDLE_CLEANUP(hGetLedInfo, "noti_ex_item_get_led_info", noti_ex_color_destroy(hColor); noti_ex_led_info_destroy(hSetLedInfo); noti_ex_item_destroy(g_hItemButton));
- nRet = noti_ex_color_destroy(hColor);
- PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_color_destroy", NotificationExGetError(nRet));
-
- nRet = noti_ex_led_info_destroy(hSetLedInfo);
+ 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_color_destroy(hColor);
+ PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_color_destroy", NotificationExGetError(nRet));
+
return 0;
}