summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-05-12 16:42:45 +0200
committerChristoph Bumiller <[email protected]>2013-09-01 20:57:15 +0200
commit7fe159ba7442b4558d4d06ad8c236ae565f5e5d8 (patch)
treee96473a25bd721f9c34cf168790d6e179270df17
parent2a7762bdb62faa1d54c445fcec7733cf6f690ac5 (diff)
nvc0: delete compute object on screen destruction
Cc: "9.2" <[email protected]>
-rw-r--r--src/gallium/drivers/nvc0/nvc0_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_screen.c b/src/gallium/drivers/nvc0/nvc0_screen.c
index 93a29028617..1de07ffe1d5 100644
--- a/src/gallium/drivers/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nvc0/nvc0_screen.c
@@ -361,6 +361,7 @@ nvc0_screen_destroy(struct pipe_screen *pscreen)
nouveau_object_del(&screen->eng3d);
nouveau_object_del(&screen->eng2d);
nouveau_object_del(&screen->m2mf);
+ nouveau_object_del(&screen->compute);
nouveau_screen_fini(&screen->base);