Curry scored 15 of his 40 in the fourth quarter to rally Golden State past Cleveland on Friday