The source project of this merge request has been removed.
Add XFreeThreads function.
The memory allocated in XInitThreads not is deallocated. this MR includes the XFreeThreads, and the xlib_dtor (library destructor).
Signed-off-by: halting halting@riseup.net