Memory leaks in vrend shader
Direct leak of 56 byte(s) in 8 object(s) allocated from:
#0 0x7fab04e7e1c8 in __interceptor_strdup (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0x761c8)
#1 0x7fab048f7baa in emit_so_movs ../../../../virgl-gitlab/src/vrend_shader.c:1622
#2 0x7fab04914d16 in iter_instruction ../../../../virgl-gitlab/src/vrend_shader.c:3871
#3 0x7fab0494dfed in tgsi_iterate_shader ../../../../../../virgl-gitlab/src/gallium/auxiliary/tgsi/tgsi_iterate.c:53
#4 0x7fab04923b48 in vrend_convert_shader ../../../../virgl-gitlab/src/vrend_shader.c:5122
#5 0x7fab048af231 in vrend_shader_create ../../../../virgl-gitlab/src/vrend_renderer.c:2858
#6 0x7fab048af8a7 in vrend_shader_select ../../../../virgl-gitlab/src/vrend_renderer.c:2909
#7 0x7fab048b967e in vrend_draw_vbo ../../../../virgl-gitlab/src/vrend_renderer.c:3845
#8 0x7fab049290b5 in vrend_decode_draw_vbo ../../../../virgl-gitlab/src/vrend_decode.c:422
#9 0x7fab0492e287 in vrend_decode_block ../../../../virgl-gitlab/src/vrend_decode.c:1374
#10 0x7fab04895f3a in virgl_renderer_submit_cmd ../../../../virgl-gitlab/src/virglrenderer.c:100
#11 0x561afe4b1269 in vtest_submit_cmd ../../../../virgl-gitlab/vtest/vtest_renderer.c:461
#12 0x561afe4ae6a8 in run_renderer ../../../../virgl-gitlab/vtest/vtest_server.c:154
#13 0x561afe4aead1 in main ../../../../virgl-gitlab/vtest/vtest_server.c:225
#14 0x7fab03661ac9 in __libc_start_main (/lib64/libc.so.6+0x21ac9)
Direct leak of 48 byte(s) in 6 object(s) allocated from:
#0 0x7fab04ee3a68 in __interceptor_calloc (/usr/lib64/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so+0xdba68)
#1 0x7fab04923861 in vrend_convert_shader ../../../../virgl-gitlab/src/vrend_shader.c:5100
#2 0x7fab048af231 in vrend_shader_create ../../../../virgl-gitlab/src/vrend_renderer.c:2858
#3 0x7fab048af8a7 in vrend_shader_select ../../../../virgl-gitlab/src/vrend_renderer.c:2909
#4 0x7fab048afd00 in vrend_finish_shader ../../../../virgl-gitlab/src/vrend_renderer.c:2951
#5 0x7fab048b06c4 in vrend_create_shader ../../../../virgl-gitlab/src/vrend_renderer.c:3082
#6 0x7fab04927087 in vrend_decode_create_shader ../../../../virgl-gitlab/src/vrend_decode.c:118
#7 0x7fab0492ab9f in vrend_decode_create_object ../../../../virgl-gitlab/src/vrend_decode.c:726
#8 0x7fab0492e220 in vrend_decode_block ../../../../virgl-gitlab/src/vrend_decode.c:1362
#9 0x7fab04895f3a in virgl_renderer_submit_cmd ../../../../virgl-gitlab/src/virglrenderer.c:100
#10 0x561afe4b1269 in vtest_submit_cmd ../../../../virgl-gitlab/vtest/vtest_renderer.c:461
#11 0x561afe4ae6a8 in run_renderer ../../../../virgl-gitlab/vtest/vtest_server.c:154
#12 0x561afe4aead1 in main ../../../../virgl-gitlab/vtest/vtest_server.c:225
#13 0x7fab03661ac9 in __libc_start_main (/lib64/libc.so.6+0x21ac9)