mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-20 01:08:09 +02: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
|
|
@ -21,6 +21,9 @@
|
|||
* hw/xfree86/common/xf86VidMode.c:
|
||||
Coverity #490: Fix a range check in xf86vidmode extension.
|
||||
|
||||
* xfixes/region.c:
|
||||
Coverity #807: Fix a memory leak in XFixesExpandRegion.
|
||||
|
||||
2006-03-15 Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
||||
|
||||
* hw/xfree86/dri/dri.c: (DRIExtensionInit):
|
||||
|
|
|
|||
|
|
@ -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…
Add table
Reference in a new issue