diff options
author | Younes Manton <younes.m@gmail.com> | 2009-12-28 18:00:09 -0500 |
---|---|---|
committer | Younes Manton <younes.m@gmail.com> | 2009-12-28 18:07:08 -0500 |
commit | cd2e4ba9aac65d10cf790990a8b86feed1cdd774 (patch) | |
tree | f285499979532c0b762ff2ce99145fe9f0b94099 /nouveau/nouveau_channel.c | |
parent | cb1caaaa05ba96b98bf9af1190f6830d8b0608bc (diff) |
nouveau: Unreference pushbuf objects on channel destruction.
- unreference pushbuf objects on channel destruction
Based on Krzysztof Smiechowicz's patch.
Diffstat (limited to 'nouveau/nouveau_channel.c')
-rw-r--r-- | nouveau/nouveau_channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nouveau/nouveau_channel.c b/nouveau/nouveau_channel.c index 674c5c37..638aee30 100644 --- a/nouveau/nouveau_channel.c +++ b/nouveau/nouveau_channel.c @@ -111,6 +111,7 @@ nouveau_channel_free(struct nouveau_channel **chan) FIRE_RING(&nvchan->base); + nouveau_pushbuf_fini(&nvchan->base); nouveau_bo_unmap(nvchan->notifier_bo); nouveau_bo_ref(NULL, &nvchan->notifier_bo); |