[Mesa-stable] [PATCH 1/2] nv50: fix a small leak on context destroy
Ilia Mirkin
imirkin at alum.mit.edu
Fri Nov 29 02:52:26 PST 2013
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: "9.2 10.0" <mesa-stable at lists.freedesktop.org>
---
Found with valgrind.
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..2b90bc2 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);
}
--
1.8.3.2
More information about the mesa-stable
mailing list