summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-03-15 16:49:04 +0000
committerAdam Jackson <ajax@nwnk.net>2006-03-15 16:49:04 +0000
commit5e106a71b9f8077216d41619402952b0005dd8a4 (patch)
treeb298619db1dbc0872e0e1863b5523fac493eb6c3 /xfixes
parenta3ef63696cac950b2520e7c85564befc0a830fde (diff)
Coverity #807: Fix a memory leak in XFixesExpandRegion.
Diffstat (limited to 'xfixes')
-rwxr-xr-xxfixes/region.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfixes/region.c b/xfixes/region.c
index d317f7313..68c701553 100755
--- a/xfixes/region.c
+++ b/xfixes/region.c
@@ -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;