summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-13 08:10:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-13 08:10:10 +0100
commite8cb656dc4bab1489df9dfb4cb64704b2a9fa34b (patch)
tree256910ada6610d5b6652934ba4590464c384d015
parent572745eb243a96819c8fa248f4ffdd703ed13b0f (diff)
sna: Free clip intersection with line extents after use
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_accel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 8498b3c2..e39f4a45 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -6238,6 +6238,7 @@ Y2_continue:
done:
fill.done(sna, &fill);
+ RegionUninit(&clip);
return true;
damage:
@@ -7402,6 +7403,7 @@ Y2_continue:
done:
fill.done(sna, &fill);
+ RegionUninit(&clip);
return true;
damage: