The magazine catch spring and pin work in part with your magazine release lever. The pin holds the lever in place and the spring sits into the hole in the lever under the hand grip. These two should be replaced together if the spring is the OEM and shows signs of wear. The release lever may not work correctly if the spring is bent or too soft.
Approximation to protect seller's privacy