Delaware Code
Chapter 69. HABEAS CORPUS
§ 6909. Discharge generally; defects in commitment.

(a) If no legal cause be shown for the imprisonment or restraint, the court or judge shall discharge the party therefrom. Any order entered upon a petition for a writ of habeas corpus discharging the prisoner from custody or otherwise granting relief to the prisoner may be appealed by the State to the Delaware Supreme Court.
(b) No person shall be discharged for a mere defect in the commitment, if the evidence before the court or judge is sufficient to require that he or she should be committed, or bound for his or her appearance. In such case the committing magistrate shall be summoned, proper witnesses examined, and the accused committed properly.