Costly penalties at the end of the game kept the San Jose Sharks from earning at least a point against the Calgary Flames.