aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/render_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/render_test.c b/tests/render_test.c
index 72c3ed3..82af375 100644
--- a/tests/render_test.c
+++ b/tests/render_test.c
@@ -60,6 +60,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data)
cairo_rectangle(cr, 0.0, 0.0, w, h);
cairo_set_source_surface(cr, surf, 0.0, 0.0);
cairo_fill(cr);
+ cairo_surface_destroy(surf);
return FALSE;
}