Bernier stops 32 shots, van Riemsdyk gets winner early in 2nd as Maple Leafs beat Flames, 4-1

Toronto Maple Leafs forward Phil Kessel (81) fights off Calgary Flames defenseman Kris Russell (4) to score an empty-net goal during the third period of an NHL hockey game in Toronto on Tuesday, Dec. 9, 2014. (AP Photo/The Canadian Press, Nathan Denette) (The Associated Press)

Toronto Maple Leafs forward David Clarkson, bottom, gets taken out by Calgary Flames forward Markus Granlund, top, during the first period of an NHL hockey game in Toronto on Tuesday, Dec. 9, 2014. (AP Photo/The Canadian Press, Nathan Denette) (The Associated Press)

Jonathan Bernier stopped 32 shots, James van Riemsdyk scored the winning goal early in the second period, and the Toronto Maple Leafs beat the Calgary Flames 4-1 Tuesday night.

Peter Holland scored midway through the first period and Phil Kessel and Mike Santorelli had empty-net goals in the final minute of the game for the Maple Leafs.

Markus Granlund got the Flames on the scoreboard with a power-play goal early in the third to make it 2-1. Jonas Hiller had 25 saves as Calgary lost consecutive games in regulation for the first time this season.

Toronto, coming off a 3-2 loss to San Jose that snapped a four-game winning streak, finished its homestand 4-1 and improved to 6-1-1 following consecutive lopsided losses to Buffalo and Nashville.