[Mesa-dev] [PATCH 0/6] radeon: Plug some memory leaks
Aaron Watry
awatry at gmail.com
Wed Nov 6 08:36:49 PST 2013
I decided to have some fun and hooked valgrind up to my 7850 while running
a few OpenCL tests in piglit. This is the first batch of fixes.
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.
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(-)
More information about the mesa-dev
mailing list