Auto-translated
Anyway, I figured it out myself. I replayed it several times over the weekend, and I was getting tired of it. As it turns out, this bug occurs if, BEFORE freeing the prisoner, you eliminate the zealots guarding the exit through which he will later leave. At least, that's what happened in my case.