While the leak only occurred on GNOME, there is no guarantee the compositor releases cursor buffer before exiting.