Coverity #807: Fix a memory leak in XFixesExpandRegion.

This commit is contained in:
Adam Jackson 2006-03-15 16:49:04 +00:00
commit 5e106a71b9
2 changed files with 4 additions and 0 deletions

View file

@ -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;