Malaria only breaks out when the pathogen leaves the liver, entering the bloodstream and going into the red corpuscles, where it continues to reproduce and spread.
The medication did not slow down the maturing of the merozoites in liver cells, but they prevented the red corpuscles in the blood from becoming infected.