law: Code of Criminal Procedure Act, 1973
  
  442.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.