(1)When a civil prisoner has been released, the balance (if any) of diet-money or sale-proceeds of clothing in the Government Treasury, shall, if received from a Civil Court Officer, be returned to the Court, but if received from the decree-holder, it shall be paid to him on his applying for it within 3 years.