Section 442 of The Code of Criminal Procedure, 1973 View Chapter 33

Discharge from custody.

   (1)  As soon as the bond has been executed, the person for whose appearance it has been executed shall be released; and, when he is in jail, the court admitting him to bail shall issue an order of release to the officer in charge of the jail, and such officer on receipt of the orders shall release him.

   (2)  Nothing in this section, section 436 or section 437, shall be deemed to require the release of any person liable to be detained for some matter other than that in respect of which the bond was executed.