If the appellant in a case of habeas corpus be detained by any person other than an officer, the sheriff receiving the mandate of the appellate court, shall immediately cause the person so held to be discharged; and the mandate shall be sufficient authority therefor.
Tex. Code Crim. Proc. § 44.39