On the game-winning play, the Flyers' Mark Streit was knocked off the puck, creating a turnover in the Hurricanes' zone.
Ron Hainsey corralled the loose puck and fed it to Malhotra, who broke in alone on Steve Mason and shoveled a backhander into the net for his first goal since March 26, 2012, as a member of the Vancouver Canucks.
Justin Peters stopped 28-of-29 shots for Carolina.
Mason made 36 stops for Philadelphia.
Yosemite climber falls 30 feet, suffers major injuries
Easer Egg Roll brings thousands to White House