When 15VAC is rectified and filtered with a capacitor then it gives 20VDC. If the transformer is little and isn't loaded to its max current rating then the DC could be as high as 30V. A 7805 regulator will smoke with such a high input voltage and the high output current of old TTL logic ICs.