mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-18 00:42:40 +00:00
Fix a leak of a region when the driver's CheckComposite fails.
This commit is contained in:
parent
8a1bee8ea9
commit
6eaca06dac
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue