From 9e21c255e74128a16ef5c2dd4b1903d1d2c417eb Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Fri, 1 Nov 2013 16:25:10 +0000 Subject: lib: Don't forget to close the pipe ctl fd in igt_pipe_crc_reset() Signed-off-by: Damien Lespiau --- lib/igt_debugfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/igt_debugfs.c') diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index dc4a0a2b..8311fd1e 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -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) -- cgit v1.2.3