If from the evidence it appears that there is not probable cause to believe that an offense has been committed or that the defendant committed it, the committing magistrate shall dismiss the complaint and discharge the defendant. The discharge of a defendant does not preclude a prosecuting attorney from instituting a subsequent prosecution for the same offense.
SDCL 23A-4-7