diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-01-25 01:40:18 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-01-25 01:40:18 +0000 |
commit | 6eaca06dac037851ae5c9575048faf932ad5ffc8 (patch) | |
tree | 7364bc43ff30e3ef3e321477d9dc66e8d2d3cca2 /hw/kdrive/src | |
parent | 8a1bee8ea9a028eef65b8884f73a79fbe84a9f3a (diff) |
Fix a leak of a region when the driver's CheckComposite fails.
Diffstat (limited to 'hw/kdrive/src')
-rw-r--r-- | hw/kdrive/src/kaapict.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/kdrive/src/kaapict.c b/hw/kdrive/src/kaapict.c index 1918b78df..1e4d2ef61 100644 --- a/hw/kdrive/src/kaapict.c +++ b/hw/kdrive/src/kaapict.c @@ -445,6 +445,7 @@ kaaTryDriverComposite(CARD8 op, if (pKaaScr->info->CheckComposite && !(*pKaaScr->info->CheckComposite) (op, pSrc, pMask, pDst)) { + REGION_UNINIT(pDst->pDrawable->pScreen, ®ion); return -1; } |