Skip to content

testsuite: fix memory leak in parse test

Tim-Philipp Müller requested to merge tpm/orc:fix-testsuite-leak into main
==269887==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x7f39668b78d5 in __interceptor_realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:85
    #1 0x7f3965fdd41a in orc_parse_full ../orc/orcparse.c:136
    #2 0x556bfaf282a3 in main ../testsuite/test_parse.c:35
    #3 0x7f3966646189 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58

SUMMARY: AddressSanitizer: 256 byte(s) leaked in 1 allocation(s).
Edited by Tim-Philipp Müller

Merge request reports

Loading