[Mesa-dev] [PATCH 0/6 v2] radeon: Plug some memory leaks

Tom Stellard tom at stellard.net
Fri Nov 15 09:21:03 PST 2013


On Wed, Nov 06, 2013 at 04:49:18PM -0600, Aaron Watry wrote:
> Turns out that I don't have commit access to Mesa, just piglit.  Feel
> free to push if they look good.
> 
> I decided to have some fun and hooked valgrind up to my SI while running
> a few OpenCL tests in piglit. This is the first batch of fixes.
> 

I have pushed this series, thanks.

-Tom

> Aaron Watry (6):
>   radeon/llvm: fix spelling error
>   radeon/llvm: Free libelf resources
>   radeon/llvm: Free created llvm memory buffer
>   radeonsi/compute: Free program and program.kernels on shutdown
>   radeonsi/compute: Dispose of LLVM module after compiling kernels
>   gallium/pipe_loader: un-reference udev resources when we're done with
>     them.
> 
> v2: Fix indentation in patches 2, 3, 4, and 5.
> 
>  src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c |  3 +++
>  src/gallium/drivers/radeon/radeon_llvm_emit.c       |  3 +++
>  src/gallium/drivers/radeon/radeon_llvm_util.c       |  1 +
>  src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c |  2 +-
>  src/gallium/drivers/radeonsi/radeonsi_compute.c     | 17 ++++++++++++++++-
>  5 files changed, 24 insertions(+), 2 deletions(-)
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list