aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2012-01-08 19:33:48 -0600
committerRob Clark <rob@ti.com>2012-01-13 10:09:28 -0600
commite450d4195cf84c7a9e0bc4a8061d3b53d06f80e7 (patch)
treebc08dff4b6223c3ab56181334f4fbcf631fcc111
parent7c73aae165dcfc53ed87075379672c732785cdc9 (diff)
dri2: add missing FreeScratchGC() call
-rw-r--r--src/omap_dri2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/omap_dri2.c b/src/omap_dri2.c
index 8560da8..944f22e 100644
--- a/src/omap_dri2.c
+++ b/src/omap_dri2.c
@@ -283,6 +283,7 @@ OMAPDRI2CopyRegion(DrawablePtr pDraw, RegionPtr pRegion,
pGC->ops->CopyArea(pSrcDraw, pDstDraw, pGC,
0, 0, pDraw->width, pDraw->height, 0, 0);
+ FreeScratchGC(pGC);
}
/**