If the defendant is not convicted, or the prosecution is abated by the death of the defendant, or if the costs are imposed on the defendant and execution against him or her is returned no property found, or if a nolle prosse be entered, in each of these cases the fees of witnesses and officers arising from criminal causes shall be paid by the state in the manner specified in s. 40.29; provided, that when a committing trial court judge holds to bail or commits a person to answer to a criminal charge and an information is not filed or an indictment found against such person, the costs and fees of such committing trial shall not be paid by the state, except the costs of executing the warrants.
Fla. Stat. § 142.09