projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db75bb
)
testdisplay: Destroy the cairo context once the fb is painted
author
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 30 Jun 2014 15:19:05 +0000
(16:19 +0100)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Tue, 29 Jul 2014 11:13:41 +0000
(12:13 +0100)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/testdisplay.c
patch
|
blob
|
history
diff --git
a/tests/testdisplay.c
b/tests/testdisplay.c
index
f60e66d
..
3bf6133
100644
(file)
--- 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)