Reference

XCopyColormapAndFree(3x) on Linux

The text fa133bf68393, as Debian 3.0 (Woody) shipped it.

create, copy, or destroy colormaps and color structure

XCopyColormapAndFree(3x) on Linux now