Signed-off-by: Damien Lespiau <[email protected]>
---
 tests/testdisplay.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index 6d8fe3a..887105d 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -314,6 +314,8 @@ static void paint_output_info(struct connector *c, struct 
igt_fb *fb)
                paint_image(cr, IGT_DATADIR"/pass.png");
 
        igt_assert(!cairo_status(cr));
+
+       cairo_destroy(cr);
 }
 
 static void sighandler(int signo)
-- 
1.8.3.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to