Reference

XCopyColormapAndFree(3) on Linux

The text f7368202fc89, as Debian 9 (Stretch) shipped it.

create, copy, or destroy colormaps and color structure

XCopyColormapAndFree(3) on Linux now