Section 339 of Criminal Procedure Code CAP 75: Payment in full after commitment
A person committed for non-payment may pay the sum mentioned in the warrant, with the amount of expenses therein authorized (if any), to the person in whose custody he is, and that person shall thereupon discharge him if he is in custody for no other matter.
Check the current authoritative text and amendment history before relying on this provision.