The Bruins lost a late lead in Los Angeles on Friday, but this time they were determined not to be left empty-handed.

Morgan Geekie notched his second goal of the game — both of them sniper’s tallies — and the B’s knocked off the Los Angeles Kings, 2-1, with an overtime victory in LA.

In a back and forth OT session, David Pastrnak gathered a Nikita Zadorov feed after the big defenseman killed a scoring opportunity at the other end and sent it cross-ice to Geekie, who beat Darcy Kuemper with a hard wrister from the right circle. It was Geekie’s 16th of the year.

“It’s huge. Unfortunately, (coughing up points) has been our MO this year but to finish this one off feels good,” Geekie told NESN after the game.

Meanwhile, the B’s received a gotta-have-it performance from Jeremy Swayman, who made 31 saves for the win to snap the B’s losing streak at two games. Zadorov was excellent again, assisting on both goals and playing a dominant 26:19, 5:53 of which was on the penalty kill.

Coach Marco Sturm was highly critical of his team’s desire to play defense after their 5-3 loss in Anaheim, when they gave up a late go-ahead goal. His assessment of his team’s play on Friday was the complete opposite.

“It was unbelievable,” said Sturm. “I think there was not one single breakdown in our D zone. We defended well. I thought our D was outstanding, best I’ve seen from the whole group — breakouts, defending, getting help from the forwards. It was just solid, overall one of our better games.”

For a short time, it looked like this one could have been another painfully squandered game for the B’s.

Geekie broke a scoreless tie at 8:01 of the third period. On a terrific shift from the newly-formed line with the sharpshooter, Marat Khusnutdinov and Alex Steeves, the B’s won the puck just outside the LA blueline. Zadorov fed Steeves, who gained the offensive zone and found Geekie out high. Geekie blasted a sizzling one-timer over Darcy Kuemper’s shoulder for his 15th of the year.

But after the B’s killed off the Kings’ fifth power play, they got a PP of their own and a chance to put the hammer down. Instead, they allowed LA to tie it up on a shorthanded goal at 13:03. Matej Blumel’s pass into the slot pass picked off by Trevor Moore, who broke out on a 2-on-1 with Joel Armia and Hampus Lindholm back defending.  Swayman made the initial stop on Moore but, before Lindholm corral the rebound, Armia knocked it home to tie it at 1-1.

But Geekie’s No. 16 — tying him with Nathan MacKinnon for the league lead, sent the B’s out of the rink happy for not just their effort but the result as well.

Much like the first period in Anaheim, the B’s were the better team in the scoreless first period in which they led in shots on goal, 9-8.

The penalty kill (5-for-5) was front and center again. The B’s faced a dangerous situation when Sean Kuraly was called for holding and then, 49 seconds later, Andrew Peeke was whistled for high-sticking, giving the Kings a 5-on-3 for 1:11. And as they did in Montreal last Saturday, they were able to kill it off, thanks in large part to Swayman, who made a very good glove save on Adrian Kempe.

At even strength, the B’s created a lot of turnovers in the LA end in the first, especially the Tanner Jeannot-Fraser Minten-Mark Kastelic. But as Swayman was good at the other end, Kuemper did his job, too.

Play continued to be even on a scoreless second, though both teams were drawing a closer bead on a goal.

The Kings had their chance when Kuraly was called for tripping Anze Kopitar from behind, setting off a minor kerfuffle that saw Kuraly also incur a 10-minute misconduct.

On the advantage, Kevin Fiala hit the far post from the right circle. It hit Swayman in the back but the netminder, Lindholm and Kastelic all appeared to get a piece of the puck to improbably keep the puck out of the net.

The second was a post party and the B’s hit a couple of them. First, Marat Khusnutdinov made a heady play, putting the puck on net with a long shot from his own zone. It produced a rebound for Riley Tufte, who clanged the crossbar.

Khusnutdinov set up their other good chance, taking the ice in front of him to gain the zone and dish to Pastrnak, who dinged the far post past Kuemper’s blocker.

Swayman kept it scoreless late in the period when he made a good pad save of a rushing Brandt Clarke’s one-timer from slot.

And when winning time came around, it got a little hairy, but the Bruins were not no-shows this time.