This circuit for demonstrating a sampling and holding configuration was found in a Popular Electronics from the 90s. The capacitor must be polyester with a small leak.