Free strings returned by XGetAtomName to avoid leakage.

Call XFree() on the string returned by XGetAtomName() in the Linux part of the Shell to avoid a memory leak.
This will cause warnings on some compilers,  0 is not NULL, even if it's defined as such