summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/iris/iris_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c
index 2e7cf9f4e59..d61993fbaff 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -525,6 +525,7 @@ iris_destroy_screen(struct pipe_screen *pscreen)
u_transfer_helper_destroy(pscreen->transfer_helper);
iris_bufmgr_destroy(screen->bufmgr);
disk_cache_destroy(screen->disk_cache);
+ close(screen->fd);
ralloc_free(screen);
}