The Flames scored four goals in the second period, and Jakob Markstrom made 46 saves as Calgary defeated the Toronto Maple Leafs 5-2.