Calling pcap_compile in tcpdump.c line: 2350 and 2753 without releasing the fcode cause memleak. when pcap_setfilter fails, there is no pcap_freecode. It's better to fix it.