summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-10-06 21:55:41 +0000
committerEric Anholt <anholt@freebsd.org>2005-10-06 21:55:41 +0000
commit1614a31a9dad9482ae4526c194c2bae1c4993f8f (patch)
tree3551137f93394c1deba9dd9f83f4d6c52b7945f7 /exa
parentcd9ff6aec81e04bbfe14364407ccb28df05fc063 (diff)
Bug #4699: Correct some memory leaks in EXA and damage related to region
handling.
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_render.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c
index e71f53575..24b59efac 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.c
@@ -511,6 +511,7 @@ exaComposite(CARD8 op,
REGION_RECTS(&region), REGION_NUM_RECTS(&region),
xSrc - xDst, ySrc - yDst,
FALSE, FALSE, 0, NULL);
+ REGION_UNINIT(pDst->pDrawable->pScreen, &region);
return;
}
}