summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-03-22 18:01:17 +0100
committerKeith Packard <keithp@keithp.com>2010-03-22 10:34:35 -0700
commit3083c5d0c4386cdd7083b7a83ac72fdad2f1e61e (patch)
treef6014119615ec54ec6423f9c3c25a2587de4de6d /glx
parentb29220dc765cb6f878c5466e00e4bd21f3bd803d (diff)
Xext: Fix cursor reference counting hazard.
Make sure the reference count of the new cursor is increased before the old one is decreased, otherwise bad things will happen if they're one and the same and the reference count is 1 initially. Not sure this can actually happen here, but better safe than sorry. Signed-off-by: Michel Dänzer <daenzer@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glx')
0 files changed, 0 insertions, 0 deletions