Mesa (10.0): nv50: fix a small leak on context destroy

Carl Worth cworth at kemper.freedesktop.org
Fri Jan 3 01:45:56 UTC 2014


Module: Mesa
Branch: 10.0
Commit: 3efc2bbf075dc9f828fe87167eef1d2bf862f7aa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3efc2bbf075dc9f828fe87167eef1d2bf862f7aa

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Nov 29 04:36:41 2013 -0500

nv50: fix a small leak on context destroy

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
(cherry picked from commit f50a45452a4fd4f7cece8fe37c394edac0808136)

---

 src/gallium/drivers/nouveau/nv50/nv50_context.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/nouveau/nv50/nv50_context.c b/src/gallium/drivers/nouveau/nv50/nv50_context.c
index b6bdf79..11afc48 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_context.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_context.c
@@ -114,6 +114,8 @@ nv50_destroy(struct pipe_context *pipe)
    draw_destroy(nv50->draw);
 #endif
 
+   FREE(nv50->blit);
+
    nouveau_context_destroy(&nv50->base);
 }
 




More information about the mesa-commit mailing list