damage: Implicitly unregister on destroy
authorAdam Jackson <ajax@redhat.com>
Mon, 26 Aug 2013 17:52:14 +0000 (13:52 -0400)
committerAdam Jackson <ajax@redhat.com>
Tue, 10 Sep 2013 18:28:09 +0000 (14:28 -0400)
commit28708a045de7d9043d20fb06b61c44a46eb5526b
treec74d2728fd289de3e1e41e2fdbfd7c06d453c36f
parente657635dbe6b92875b0e88370557c2cbab673a49
damage: Implicitly unregister on destroy

There's no reason not to, and it simplifies quite a few callers.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
damageext/damageext.c
dix/pixmap.c
exa/exa_classic.c
exa/exa_migration_mixed.c
exa/exa_mixed.c
hw/kdrive/ephyr/ephyr.c
miext/damage/damage.c