The official text
Old and new, side by side
Code of Criminal Procedure, 1973
Section 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.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 487 Discharge from custody
(1) As soon as the bond or bail 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 478 or section 480, 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 or bail bond was executed.
The texts are India Code’s. The amendment markers and footnotes of the official print are left out, so the old section reads as it stood when it was repealed; State amendments are not shown. The PDFs linked below carry the full history.