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

Maarten Lankhorst mlankhorst at kemper.freedesktop.org
Wed Dec 4 15:42:02 UTC 2013


Module: Mesa
Branch: master
Commit: f50a45452a4fd4f7cece8fe37c394edac0808136
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f50a45452a4fd4f7cece8fe37c394edac0808136

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>

---

 src/gallium/drivers/nouveau/nv50/nv50_context.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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