Re: [Mesa-dev] [PATCH 1/4] r300g: Simplify destroy_context() code

2010-12-02 Thread Marek Olšák
Hi nobled, On Fri, Dec 3, 2010 at 12:08 AM, nobled wrote: > Minimize code duplication and avoid null-free in case any of > the allocations failed. > --- > src/gallium/drivers/r300/r300_context.c | 30 > +- > 1 files changed, 9 insertions(+), 21 deletions(-) > > dif

[Mesa-dev] [PATCH 1/4] r300g: Simplify destroy_context() code

2010-12-02 Thread nobled
Minimize code duplication and avoid null-free in case any of the allocations failed. --- src/gallium/drivers/r300/r300_context.c | 30 +- 1 files changed, 9 insertions(+), 21 deletions(-) diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300