Requirements for corrosion inhibitor release from damaged primers for stable protection