Re: [Mesa-dev] [PATCH] mesa: improve free() cleanup in generate_mipmap_compressed()

2013-07-31 Thread Brian Paul
On 07/31/2013 01:50 AM, Vinson Lee wrote: On Fri, Jul 26, 2013 at 8:54 AM, Brian Paul wrote: Free all our temporary buffers in one place at the end of the function. Fixes memory leak detected by Coverity. Note: This is a candidate for the 9.x branches Cc: mesa-sta...@lists.freedesktop.org ---

Re: [Mesa-dev] [PATCH] mesa: improve free() cleanup in generate_mipmap_compressed()

2013-07-31 Thread Vinson Lee
On Fri, Jul 26, 2013 at 8:54 AM, Brian Paul wrote: > Free all our temporary buffers in one place at the end of the > function. Fixes memory leak detected by Coverity. > > Note: This is a candidate for the 9.x branches > Cc: mesa-sta...@lists.freedesktop.org > --- > src/mesa/main/mipmap.c | 17

Re: [Mesa-dev] [PATCH] mesa: improve free() cleanup in generate_mipmap_compressed()

2013-07-27 Thread Jose Fonseca
- Original Message - > Free all our temporary buffers in one place at the end of the > function. Fixes memory leak detected by Coverity. > > Note: This is a candidate for the 9.x branches > Cc: mesa-sta...@lists.freedesktop.org > --- > src/mesa/main/mipmap.c | 17 +++-- >

[Mesa-dev] [PATCH] mesa: improve free() cleanup in generate_mipmap_compressed()

2013-07-26 Thread Brian Paul
Free all our temporary buffers in one place at the end of the function. Fixes memory leak detected by Coverity. Note: This is a candidate for the 9.x branches Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/main/mipmap.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(