summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-11-28 15:23:13 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:10 -0800
commit68d531d7d78d116601475bb72315278585a3a600 (patch)
tree0f9f5cb47b33acd7a478a06cbdc9e71187acf2e7
parent7c29c3d01ec348f411fafae372766fadff89c568 (diff)
iris: Destroy the bufmgr
Plugs a 12360 byte leak
-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 b5c21b09475..3b390e65173 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -461,6 +461,7 @@ iris_destroy_screen(struct pipe_screen *pscreen)
struct iris_screen *screen = (struct iris_screen *) pscreen;
iris_bo_unreference(screen->workaround_bo);
u_transfer_helper_destroy(pscreen->transfer_helper);
+ iris_bufmgr_destroy(screen->bufmgr);
ralloc_free(screen);
}