From 68d531d7d78d116601475bb72315278585a3a600 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 28 Nov 2018 15:23:13 -0800 Subject: [PATCH] iris: Destroy the bufmgr Plugs a 12360 byte leak --- src/gallium/drivers/iris/iris_screen.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.30.2