diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-06-30 16:19:05 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2014-07-29 12:13:41 +0100 |
commit | 660a7ffdbade6ea0854df881ce316cfc64500826 (patch) | |
tree | 7b35d6e3148201eebad1be1b0897dccb6dfc596c /tests/testdisplay.c | |
parent | 0db75bb3f91fc058c56650100f75cea5204c6af6 (diff) |
testdisplay: Destroy the cairo context once the fb is painted
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r-- | tests/testdisplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index f60e66d5..3bf61336 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) |