diff options
author | Daniel Stone <daniel@fooishbar.org> | 2007-12-28 15:48:57 +0200 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2007-12-28 15:51:00 +0200 |
commit | a304fc1d4a7062f65161ef8748fd358639ec73de (patch) | |
tree | a61ffabd1ba443177bd11c816eb28ae68d78cb3a | |
parent | 38d8cfaaff0ae6273d9e921aae08b2706355f0d2 (diff) |
KDrive: Xephyr: Don't leak screen damage structure
(cherry picked from commit 0b03d97a244540824c922c300adbc3d3ae4855d5)
-rw-r--r-- | hw/kdrive/ephyr/ephyr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c index e8001df73..27165a5a2 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -394,6 +394,7 @@ ephyrUnsetInternalDamage (ScreenPtr pScreen) pPixmap = (*pScreen->GetScreenPixmap) (pScreen); DamageUnregister (&pPixmap->drawable, scrpriv->pDamage); + DamageDestroy (scrpriv->pDamage); RemoveBlockAndWakeupHandlers (ephyrInternalDamageBlockHandler, ephyrInternalDamageWakeupHandler, |