ASAN: memory leak in test_cache
./tests/test_cache
[==========] Running 2 test(s).
[ RUN ] test_fake_invalid
[ OK ] test_fake_invalid
[ RUN ] test_fake_insert
[ OK ] test_fake_insert
[==========] 4 test(s) run.
[ PASSED ] 4 test(s).
0 FAILED TEST(S)
[==========] Running 8 test(s).
[ RUN ] test_invalid
[ OK ] test_invalid
[ RUN ] test_insert_rr
[ OK ] test_insert_rr
[ RUN ] test_materialize
[ OK ] test_materialize
[ RUN ] test_query
[ OK ] test_query
[ RUN ] test_query_aged
[ OK ] test_query_aged
[ RUN ] test_remove
[ OK ] test_remove
[ RUN ] test_fill
[ OK ] test_fill
[ RUN ] test_clear
[ OK ] test_clear
[==========] 10 test(s) run.
[ PASSED ] 10 test(s).
0 FAILED TEST(S)
=================================================================
==25993==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 32816 byte(s) in 1 object(s) allocated from:
#0 0x7fa0cb022d88 in malloc (/lib64/libasan.so.3+0xc6d88)
#1 0x7fa0c9c2b6aa in opendir (/lib64/libc.so.6+0xc46aa)
SUMMARY: AddressSanitizer: 32816 byte(s) leaked in 1 allocation(s).