I've worn out and replaced mag springs on Glocks, SIG's, Beretta's, 1911's, and more. Also AR mags and I've had AK mags that used to work go bad on me. In all those cases, a new mag spring and I was back in business. Sometimes I have to replace a baseplate or follower as well. I keep spare mag springs for most all the guns I own.
With a Glock mag, it is possible to eventually separate the polymer shell from the metal lining, under long term heavy-duty use. I've done that, too. In that case, mail or carry the mags to Glock and they replace them for free.