diff options
author | Gert Wollny <[email protected]> | 2019-09-03 19:24:09 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-09-06 09:44:24 +0200 |
commit | 9b9e1de90e859be950ebf7e0ac5a414728f48aac (patch) | |
tree | c5a08cda7ad75ab704615aeac09fd47d40e3f693 /src/compiler/glsl/gl_nir_linker.c | |
parent | 7a6e7803a791724841346b4b274ce68bcf3fff3f (diff) |
radeonsi: Release storage for smda_uploads when the context is destroyed
This fixes a memory leak in the flush code:
Direct leak of 128 byte(s) in 1 object(s) allocated from:
#0 in __interceptor_realloc .../gcc-8.3.0/libsanitizer/asan/asan_malloc_linux.cc:105
#1 in si_buffer_do_flush_region src/gallium/drivers/radeonsi/si_buffer.c:573
#2 in si_buffer_flush_region src/gallium/drivers/radeonsi/si_buffer.c:608
#3 in si_buffer_flush_region src/gallium/drivers/radeonsi/si_buffer.c:597
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/glsl/gl_nir_linker.c')
0 files changed, 0 insertions, 0 deletions