Green’s Dictionary of Slang

wooden-legged mare n.

the gallows.

[UK]Grose Classical Dict. of the Vulgar Tongue (2nd, 3rd edn) n.p.: Acorn. You will ride a horse foaled by an acorn, i.e. the gallows, called also the Wooden and Three-legged Mare. You will be hanged.
[UK]Lex. Balatronicum.
[UK]Farmer & Henley Sl. and Its Analogues.