the pin out of 79** is different from that of 78**. so please refer the pin out from a data sheet. secondly these regulators manufactured by some manufactures, gives only proper op if at least 470 ohm for 5V and 1K for 12v is loaded at the output (both 1/4 watts).
one of the possible way of...