Things you could try:
Thorough Cleaning: Make sure the area around the mag release is clean and free of any dirt, debris, or fouling. Sometimes a buildup of grime can cause the mag release to stick.
Disassembly and Inspection: If cleaning doesn't work, you might need to disassemble the mag...