export ASAN_OPTIONS="symbolize=1 detect_leaks=1" make ... [ 263/4154] Compiling ASN1 source4/heimdal/lib/asn1/kx509.asn1 ================================================================= ==12792==ERROR: LeakSanitizer: detected memory leaks Direct leak of 32 byte(s) in 2 object(s) allocated from: #0 0x7f75495b8850 in malloc (/lib64/libasan.so.4+0xde850) #1 0x405f7e in rk_emalloc ../source4/heimdal/lib/roken/emalloc.c:48 #2 0x42942d in yyparse ../source4/heimdal/lib/asn1/asn1parse.c:1506 #3 0x410507 in main ../source4/heimdal/lib/asn1/main.c:190 #4 0x7f7548ef9009 in __libc_start_main (/lib64/libc.so.6+0x21009) Objects leaked above: 0x602000000530 (16 bytes) 0x602000000550 (16 bytes) Direct leak of 17 byte(s) in 1 object(s) allocated from: #0 0x7f75495b8850 in malloc (/lib64/libasan.so.4+0xde850) #1 0x7f7548f5895f in vasprintf (/lib64/libc.so.6+0x8095f) Objects leaked above: 0x6030000000a0 (17 bytes) SUMMARY: AddressSanitizer: 49 byte(s) leaked in 3 allocation(s). Waf: Leaving directory `/home/william/development/samba/bin' Build failed: -> task failed (err #1): {task: HEIMDAL_KX509_ASN1_ASN1 kx509.asn1 -> asn1_kx509_asn1.x,kx509_asn1.hx,kx509_asn1-priv.hx} make: *** [Makefile:8: all] Error 1