"It is a settled law that no benefit can be extended to the accused at the stage of discharge, if some defects have occurred during