discharge not amounting to an acquittal