projects
/
profile
/
extras
/
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:
173a4cf
)
tests/debugfs_pipe_crc: fix fb leak
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 17 Oct 2013 12:09:52 +0000
(14:09 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 17 Oct 2013 12:09:52 +0000
(14:09 +0200)
Also remove the unused connector_t->mode.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/debugfs_pipe_crc.c
patch
|
blob
|
history
diff --git
a/tests/debugfs_pipe_crc.c
b/tests/debugfs_pipe_crc.c
index
f9ebac9
..
256ff29
100644
(file)
--- a/
tests/debugfs_pipe_crc.c
+++ b/
tests/debugfs_pipe_crc.c
@@
-34,7
+34,6
@@
typedef struct {
struct kmstest_connector_config config;
- drmModeModeInfo mode;
struct kmstest_fb fb;
bool valid;
} connector_t;
@@
-191,6
+190,7
@@
static void test_read_crc(data_t *data)
free(crcs);
igt_pipe_crc_free(pipe_crc);
+ kmstest_remove_fb(data->drm_fd, &connector->fb);
}
static void exit_handler(int sig)