Memory deallocation for xresources content