Controlled-release polymers for delivery of dipyridyls and tetraalkyl ammonium hydroxide