Well, now that is an issue. With some applications NS does advise a "kickback" diode across the reg. To shunt capacitor voltage and prevent it bleeding into the output. I believe this is true for all the 317/78xx regs. But it has nothing to do with previous posts.