Green’s Dictionary of Slang

growler n.4

[the noise, either of someone straining to defecate or of incarcerated prisoners]
(US)

1. [1940s–70s] a lavatory, usu. in a prison cell.

2. [1980s] a prison.