summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resource.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-06-16 09:56:59 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:07 -0800
commitc763ecaa65d9293905bd7d0ea2a379029c3df2a5 (patch)
treef6d08b85626a26273212301e04d165d76a5f9616 /src/gallium/drivers/iris/iris_resource.c
parent477ea6c39a7aa575f5db748867046837fb6789ab (diff)
iris: plug leaks
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.c')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index aeed6ce5943..5eccd66de59 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -159,6 +159,7 @@ iris_resource_destroy(struct pipe_screen *screen,
struct iris_resource *res = (struct iris_resource *)resource;
iris_bo_unreference(res->bo);
+ free(res);
}
static struct iris_resource *