summaryrefslogtreecommitdiff
path: root/test/pattern-getters.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pattern-getters.c')
-rw-r--r--test/pattern-getters.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pattern-getters.c b/test/pattern-getters.c
index fcfd0b98..d4014ea7 100644
--- a/test/pattern-getters.c
+++ b/test/pattern-getters.c
@@ -160,6 +160,8 @@ draw (cairo_t *cr, int width, int height)
!DOUBLE_EQUALS(e,5.0) ||
!DOUBLE_EQUALS(f,6.0))
return CAIRO_TEST_FAILURE;
+
+ cairo_pattern_destroy (pat);
}
cairo_set_source_rgb (cr, 0, 1, 0);