summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50
diff options
context:
space:
mode:
authorMarcin Slusarz <[email protected]>2012-06-05 23:26:05 +0200
committerMarcin Slusarz <[email protected]>2012-06-05 23:58:43 +0200
commit17e047242e82111859eb8220369c601c79a26350 (patch)
tree55f96793192a87f0d0e998abaf3bd2845ecbbc1c /src/gallium/drivers/nv50
parent3232a86efe76df9fcee869c4ed4af8d68824920c (diff)
nouveau: fix scratch buffer leak
...and create common function for destroying nouveau_context
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r--src/gallium/drivers/nv50/nv50_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.c b/src/gallium/drivers/nv50/nv50_context.c
index 952dc03b1a3..cb9dd413a2d 100644
--- a/src/gallium/drivers/nv50/nv50_context.c
+++ b/src/gallium/drivers/nv50/nv50_context.c
@@ -111,7 +111,7 @@ nv50_destroy(struct pipe_context *pipe)
draw_destroy(nv50->draw);
#endif
- FREE(nv50);
+ nouveau_context_destroy(&nv50->base);
}
struct pipe_context *