Uh... it doesn't say who denied her the pill. If it was the guard, I agree with his decision to withhold the pill. He's not a pharmacist nor does he have any medical training, had he given her medication he would have or at least should have lost his job. If the doctor at the clinic denied her the pill, then I can see a controversy over that aspect.
The felony arrest immediately after the rape was poor judgment but I suspect the officer who arrested her didn't have the leeway to let her go as it was.
In my opinion what happened to her is horrible, but I don't have the information to pass judgment on the officers involved.