(1) With leave of the High Court, an appeal lies to that court, on a question of law only, from—
(a) the committal to prison of a fugitive under section 16; or
(b) the discharge of a fugitive under section 17.
(2) Leave to appeal to the High Court may not be granted unless—
(a) in the case of a committal, application for leave to appeal is made within the time limited therefor, by section 18(a); or
(b) in the case of the discharge of a fugitive, application for leave to appeal is made within 15 days from the making of the order of discharge.