From 75d8550891b8b2c09200aaaa812c6c9332161cd7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 6 May 2010 13:50:27 +0100 Subject: [PATCH] test/clip-contexts: Free secondary context --- test/clip-contexts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/clip-contexts.c b/test/clip-contexts.c index 8f767e102..39d2004c0 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; }