summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2013-11-29 04:36:41 -0500
committerMaarten Lankhorst <[email protected]>2013-12-04 16:38:50 +0100
commitf50a45452a4fd4f7cece8fe37c394edac0808136 (patch)
tree40de52f86746f39ea59f1c7762484d86315e5b67
parent657466a3f68a568789da0e9602adf0d1f53f8e75 (diff)
nv50: fix a small leak on context destroy
Signed-off-by: Ilia Mirkin <[email protected]>
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_context.c2
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 b6bdf79b389..11afc48eab6 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);
}