Free the structure returned by xkblistcomponents
void XkbFreeComponentList (\^XkbComponentListPtr list\^);
- list
pointer to XkbComponentListRec to free
When you are done using the structure returned by XkbListComponents, free it using XkbFreeComponentList.