The Korean War had illustrated the military 's need for improved treatments for malaria , and Beutler was sent to Joliet Prison in Illinois to study the severe anemia produced in some people by the malaria drug primaquine .