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.