Radio and soft X-ray evidence for dense non-potential magnetic flux tubes in the solar corona