[Mesa-stable] [PATCH 1/2 v2] nv50: fix a small leak on context destroy
Ilia Mirkin
imirkin at alum.mit.edu
Fri Nov 29 12:17:43 PST 2013
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: "9.2 10.0" <mesa-stable at lists.freedesktop.org>
---
v2: use FREE instead of free.
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);
}
--
1.8.3.2
More information about the mesa-stable
mailing list