Fix cursor ref counting mistakes with sprites and xf86Cursor.c
authorKeith Packard <keithp@keithp.com>
Fri, 30 Apr 2010 19:18:09 +0000 (12:18 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 3 May 2010 17:26:52 +0000 (10:26 -0700)
commitcdeb2c23f80ced961fe205125547e16905885534
tree87d4690c2b0a01580d7675e6b56d563512002995
parenta80b1f888f2f7674a715d512ab950eeadee20448
Fix cursor ref counting mistakes with sprites and xf86Cursor.c

A few cursor value assignments weren't getting correctly ref counted,
causing leaks of cursor objects.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
dix/devices.c
dix/events.c
hw/xfree86/ramdac/xf86Cursor.c