lib: Don't forget to close the pipe ctl fd in igt_pipe_crc_reset()

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau 2013-11-01 16:25:10 +00:00
parent b1945f8c46
commit 9e21c255e7

View File

@ -232,6 +232,8 @@ void igt_pipe_crc_reset(void)
igt_pipe_crc_pipe_off(fd, PIPE_A);
igt_pipe_crc_pipe_off(fd, PIPE_B);
igt_pipe_crc_pipe_off(fd, PIPE_C);
close(fd);
}
void igt_pipe_crc_free(igt_pipe_crc_t *pipe_crc)