[cairo-commit] test/buffer-diff.c
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Mar 1 15:14:39 PST 2007
test/buffer-diff.c | 1 +
1 files changed, 1 insertion(+)
New commits:
diff-tree bd2cd2c868864d5ec2a2c2e4bf16ff406be8afe2 (from 7de96a1faabfc2aa84dac38f5b63c2ba3538bb3c)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Mar 1 18:14:33 2007 -0500
[test] Plug a leak in the test suite
diff --git a/test/buffer-diff.c b/test/buffer-diff.c
index e4324ff..d111b23 100644
--- a/test/buffer-diff.c
+++ b/test/buffer-diff.c
@@ -243,6 +243,7 @@ extract_sub_surface (cairo_surface_t **s
cairo_set_source_surface (cr, *surface, -x, -y);
cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);
cairo_paint (cr);
+ cairo_destroy (cr);
cairo_surface_destroy (*surface);
*surface = sub;
More information about the cairo-commit
mailing list