Depends on the conditions. Cold water washing may not kill the fungi and dirty the machine. Hot water washing and drying should kill the fungi. I guess you'll find out when you wash your clothes and put them on.
Athlete's foot Causes - Diseases and Conditions - Mayo Clinic
Athlete's foot is caused by the same type of fungus that causes ringworm and jock itch. Damp socks and shoes and warm, humid conditions favor the organisms' growth.
Athlete's foot is contagious and can be spread by contact with an infected person or from contact with contaminated surfaces, such as towels, floors and shoes.