Reference

XCopyColormapAndFree(3) on Linux

The text 9efd0093d48b, as Debian 11 (Bullseye) shipped it.

create, copy, or destroy colormaps and color structure

XCopyColormapAndFree(3) on Linux now