Reference

XFreeGC(3) on Linux

The text 066b2677d809, as Debian 12 (Bookworm) shipped it.

create or free graphics contexts and graphics context structure

XFreeGC(3) on Linux now