Reference

XCopyColormapAndFree(3) on Linux

The text 607f8265d79d, as Debian 10 (Buster) shipped it.

create, copy, or destroy colormaps and color structure

XCopyColormapAndFree(3) on Linux now