Fixed memory leak getting the X11 window title