Green’s Dictionary of Slang

leafless tree n.

the gallows.

[UK]Lytton Paul Clifford I 261: Oh! there never was life like the Robber’s [...] And its end? — why a cheer from the crowd below, And a leap from a leafless tree!
[UK]J. Lindridge Sixteen-String Jack 356: [as cit. 1830].