From cd2e4ba9aac65d10cf790990a8b86feed1cdd774 Mon Sep 17 00:00:00 2001 From: Younes Manton Date: Mon, 28 Dec 2009 18:00:09 -0500 Subject: nouveau: Unreference pushbuf objects on channel destruction. - unreference pushbuf objects on channel destruction Based on Krzysztof Smiechowicz's patch. --- nouveau/nouveau_channel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nouveau/nouveau_channel.c') 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); -- cgit v1.2.3