xrandr: fixed memory leak