memory leak when running deqp-gles31 batches (add_sampler_array)
Direct leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7f49a7733c60 in realloc (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0xdbc60)
#1 0x7f49a713100a in add_sampler_array ../../../../virgl-gitlab/src/vrend_shader.c:619
#2 0x7f49a71318cb in add_samplers ../../../../virgl-gitlab/src/vrend_shader.c:677
#3 0x7f49a713a780 in iter_declaration ../../../../virgl-gitlab/src/vrend_shader.c:1213
#4 0x7f49a7194c37 in tgsi_iterate_shader ../../../../../../virgl-gitlab/src/gallium/auxiliary/tgsi/tgsi_iterate.c:59
#5 0x7f49a7169a24 in vrend_convert_shader ../../../../virgl-gitlab/src/vrend_shader.c:5012
#6 0x7f49a70f4997 in vrend_shader_create ../../../../virgl-gitlab/src/vrend_renderer.c:2922
#7 0x7f49a70f500d in vrend_shader_select ../../../../virgl-gitlab/src/vrend_renderer.c:2975
#8 0x7f49a70f5462 in vrend_finish_shader ../../../../virgl-gitlab/src/vrend_renderer.c:3017
#9 0x7f49a70f5e3d in vrend_create_shader ../../../../virgl-gitlab/src/vrend_renderer.c:3148
#10 0x7f49a716d450 in vrend_decode_create_shader ../../../../virgl-gitlab/src/vrend_decode.c:119
#11 0x7f49a717103d in vrend_decode_create_object ../../../../virgl-gitlab/src/vrend_decode.c:730
#12 0x7f49a7174bc2 in vrend_decode_block ../../../../virgl-gitlab/src/vrend_decode.c:1419
#13 0x7f49a70daca4 in virgl_renderer_submit_cmd ../../../../virgl-gitlab/src/virglrenderer.c:110
#14 0x563d774c4d12 in vtest_submit_cmd ../../../../virgl-gitlab/vtest/vtest_renderer.c:498
#15 0x563d774c24da in vtest_main_run_renderer ../../../../virgl-gitlab/vtest/vtest_server.c:359
#16 0x563d774c14bf in main ../../../../virgl-gitlab/vtest/vtest_server.c:105
#17 0x7f49a5ea1ac9 in __libc_start_main (/lib64/libc.so.6+0x21ac9)
Edited by Gert Wollny