diff options
author | Marcin Slusarz <[email protected]> | 2012-06-05 23:26:05 +0200 |
---|---|---|
committer | Marcin Slusarz <[email protected]> | 2012-06-05 23:58:43 +0200 |
commit | 17e047242e82111859eb8220369c601c79a26350 (patch) | |
tree | 55f96793192a87f0d0e998abaf3bd2845ecbbc1c /src/gallium/drivers/nvc0 | |
parent | 3232a86efe76df9fcee869c4ed4af8d68824920c (diff) |
nouveau: fix scratch buffer leak
...and create common function for destroying nouveau_context
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.c b/src/gallium/drivers/nvc0/nvc0_context.c index f93081465bd..b021f2e99dc 100644 --- a/src/gallium/drivers/nvc0/nvc0_context.c +++ b/src/gallium/drivers/nvc0/nvc0_context.c @@ -99,7 +99,7 @@ nvc0_destroy(struct pipe_context *pipe) draw_destroy(nvc0->draw); #endif - FREE(nvc0); + nouveau_context_destroy(&nvc0->base); } void |