128. Whoever, being a public servant, and having the custody of any prisoner of State or prisoner of war, voluntarily allows such prisoner to escape from any place in which such prisoner is confined, shall be punished with imprisonment for life, or imprisonment for a term which may extend to twenty years, and shall also be liable to fine.