Microsoft is recalling about 2.44 million AC power cords for its Surface Pro, Surface Pro 2, and Surface Pro 3 computers sold before March 15, 2015, because of a potential fire hazard.

The U.S. Consumer Product Safety Commission says users have reported 56 incidents of the cords overheating and emitting flames, and five incidents where the cords gave users an electric shock.

Microsoft is offering free replacements for the cords. Consumers can get more information by calling (855) 327-7780 or visiting www.surface.com/powercord

Last week, Apple recalled some two-pronged AC power adapters sold for use in continental Europe, Argentina, Brazil, Australia, New Zealand and South Korea, saying that the plugs could break and cause an electric shock.