* [PATCH] nouveau: fix nouveau_fence leak
@ 2011-09-06 23:08 Marcin Slusarz
0 siblings, 0 replies; only message in thread
From: Marcin Slusarz @ 2011-09-06 23:08 UTC (permalink / raw)
To: Christoph Bumiller; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Note: This is a candidate for the 7.11 branch.
---
src/gallium/drivers/nouveau/nouveau_fence.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nouveau_fence.c b/src/gallium/drivers/nouveau/nouveau_fence.c
index d8f59dc..ea2038c 100644
--- a/src/gallium/drivers/nouveau/nouveau_fence.c
+++ b/src/gallium/drivers/nouveau/nouveau_fence.c
@@ -219,5 +219,7 @@ nouveau_fence_next(struct nouveau_screen *screen)
if (screen->fence.current->state < NOUVEAU_FENCE_STATE_EMITTED)
nouveau_fence_emit(screen->fence.current);
+ nouveau_fence_ref(NULL, &screen->fence.current);
+
nouveau_fence_new(screen, &screen->fence.current, FALSE);
}
--
1.7.6.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-06 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-06 23:08 [PATCH] nouveau: fix nouveau_fence leak Marcin Slusarz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.