Re: [tcpdump-workers] TCPDUMP version 3.8.3

2005-03-22 Thread Manoj Kumar
"malloc". Thus with "malloc" , "free" is necessary. Please let me if i am wrong some where. - On Tue, 22 Mar 2005 02:58:48 -0800, Guy Harris <[EMAIL PROTECTED]> wrote: > Manoj Kumar wrote: > > > I was learning how to go about writting sniffer usin

[tcpdump-workers] TCPDUMP version 3.8.3

2005-03-22 Thread Manoj Kumar
HI, I was learning how to go about writting sniffer using libpcap. For the reason i was going through code of tcpdump version 3.8.3 code (which indeed helped me alot), and i think there is some memory leak in tcpdump when used with filters. As tcpdump uses 'pcap_compile()' , which eventually does