House of Correction
A gaol governed by a keeper. Originally it was a place where vagrants were made to work, and small offenders were kept in ward for the correction of their offences.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on House of Correction from Infoplease: