mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-20 22:36:24 +00:00
testdisplay: Destroy the cairo context once the fb is painted
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
0db75bb3f9
commit
660a7ffdba
@ -314,6 +314,8 @@ static void paint_output_info(struct connector *c, struct igt_fb *fb)
|
|||||||
paint_image(cr, IGT_DATADIR"/pass.png");
|
paint_image(cr, IGT_DATADIR"/pass.png");
|
||||||
|
|
||||||
igt_assert(!cairo_status(cr));
|
igt_assert(!cairo_status(cr));
|
||||||
|
|
||||||
|
cairo_destroy(cr);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sighandler(int signo)
|
static void sighandler(int signo)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user