mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
tests/debugfs_pipe_crc: fix fb leak
Also remove the unused connector_t->mode. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
173a4cf1da
commit
e6ad75c1c4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user