From: Kenneth Graunke Date: Wed, 28 Nov 2018 23:23:13 +0000 (-0800) Subject: iris: Destroy the bufmgr X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68d531d7d78d116601475bb72315278585a3a600;p=mesa.git iris: Destroy the bufmgr Plugs a 12360 byte leak --- 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); }