Reference

XCopyColormapAndFree(3) on Linux

The text d03e3ec2d845, as Debian 13 (Trixie) shipped it.

create, copy, or destroy colormaps and color structure

XCopyColormapAndFree(3) on Linux now