XFree() - free client data
XFree (void *data)
The XFree(3) function is a general-purpose Xlib routine that frees the specified data. You must use it to free any objects that were allocated by Xlib, unless an alternate function is explicitly specified for the object.
Xlib