The
XAllocClassHint()
function allocates and returns a pointer to a
XClassHint
structure.
Note that the pointer fields in the
XClassHint
structure are initially set to NULL.
If insufficient memory is available,
XAllocClassHint()
returns NULL.
To free the memory allocated to this structure,
use
XFree().