mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-18 19:52:21 +00:00
Coverity #807: Fix a memory leak in XFixesExpandRegion.
This commit is contained in:
parent
a3ef63696c
commit
5e106a71b9
2 changed files with 4 additions and 0 deletions
|
|
@ -839,6 +839,7 @@ ProcXFixesExpandRegion (ClientPtr client)
|
|||
REGION_INIT (pScreen, &r, &pTmp[i], 0);
|
||||
REGION_UNION (pScreen, pDestination, pDestination, &r);
|
||||
}
|
||||
xfree(pTmp);
|
||||
}
|
||||
if (ret == Success)
|
||||
ret = client->noClientException;
|
||||
|
|
|
|||
Loading…
Reference in a new issue