The Andy Griffith Show - Season 2 Episode 18 Jailbreak Nip it in the bud!
Overview: Barney must attempt to salvage his reputation after he inadvertently allows a criminal to escape from the Mayberry jail and the state police are called in to assist in the manhunt.