================================================================= ==16511==ERROR: LeakSanitizer: detected memory leaks Direct leak of 44 byte(s) in 1 object(s) allocated from: #0 0x7f0b9ef9bdf0 in __interceptor_malloc /build/gcc-multilib/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:62 #1 0x7f0b9dbbaab9 in __strdup (/usr/lib/libc.so.6+0x7dab9) #2 0x7f0b9ea443c8 in pcap_create_common (/usr/lib/libpcap.so.1+0x163c8) #3 0x7f0b9ea3de06 in pcap_create_interface (/usr/lib/libpcap.so.1+0xfe06) #4 0x7f0b9ea436ca in pcap_create (/usr/lib/libpcap.so.1+0x156ca) #5 0x5625aeba7dd9 in open_capture_device_pcap_create ../caputils/capture-pcap-util.c:1095 #6 0x5625aeba5c90 in open_capture_device_local ../caputils/capture-pcap-util-unix.c:446 #7 0x5625aeba8777 in open_capture_device ../caputils/capture-pcap-util.c:1355 #8 0x5625aeb97223 in capture_loop_open_input ../dumpcap.c:2170 #9 0x5625aeb9b24e in capture_loop_start ../dumpcap.c:3033 #10 0x5625aeb9fc6c in main ../dumpcap.c:4455 #11 0x7f0b9db5d740 in __libc_start_main (/usr/lib/libc.so.6+0x20740) #12 0x5625aeb898a8 in _start (/tmp/wireshark-dev/build/run/dumpcap+0xd8a8) Objects leaked above: 0x60400000da90 (44 bytes) SUMMARY: AddressSanitizer: 44 byte(s) leaked in 1 allocation(s).