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:
Daniel Vetter 2013-10-17 14:09:52 +02:00
parent 173a4cf1da
commit e6ad75c1c4

View File

@ -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)