CALGARY — Joel Hanley's first goal of the National Hockey League season at 13:26 of the third period was the game-winner on Sunday night as the Calgary Flames beat the San Jose Sharks 3-2.