summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_debugfs.c')
-rw-r--r--lib/igt_debugfs.c2
1 files changed, 2 insertions, 0 deletions
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)