Discharge when imprisonment illegal

12 O.S. § 395 — under Title 12 — Civil Procedure.

12 O.S. § 395

A witness so imprisoned by an officer before whom his deposition is being taken, may apply to a judge of a court of record, who shall have power to discharge him, if it appears that his imprisonment is illegal. R.L. 1910, § 5060.