summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-06 13:50:27 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-06 13:50:27 +0100
commit75d8550891b8b2c09200aaaa812c6c9332161cd7 (patch)
tree554fe65c62f93b6a45b83e217d34f85aa3d822f1
parentbf83bf00a75343f7d1dcd15dc4eeec1b1a4b9428 (diff)
test/clip-contexts: Free secondary context
-rw-r--r--test/clip-contexts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/clip-contexts.c b/test/clip-contexts.c
index 8f767e10..39d2004c 100644
--- a/test/clip-contexts.c
+++ b/test/clip-contexts.c
@@ -62,6 +62,8 @@ draw (cairo_t *cr, int width, int height)
cairo_set_source_rgba (cr, 0, 0, 1, .5);
cairo_paint (cr);
+ cairo_destroy (cr2);
+
return CAIRO_TEST_SUCCESS;
}