<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>We are aware of the "leak". The problem is that the leak is
not in WinPcap, but in the NetMon, the Microsoft COM component that WinPcap
uses to capture packets from dialup adapters. On Windows 2000 that COM component
is buggy, and leaks memory whenever WinPcap asks NetMon to provide a list of
adapters (i.e. whenever you call pcap_findalldevs).</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I'm sorry for that.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=dungbkhn@yahoo.com href="mailto:dungbkhn@yahoo.com">Le anh Dung</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, August 07, 2005 9:10
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] [ANNOUNCE]
WinPcap 3.1 has been released</DIV>
<DIV><BR></DIV>
<P>Thanks for your new release.<BR>But it still have old error of beta
version:<BR>Error is: not free memory in function pcap_findalldevs???</P>
<P>The source test is demo program: iflist project in developer pack. My
enviroment: Win2kPro sp4, Visual C++6...<BR>I change this source, replace the
main function as following: <BR>(put a for loop to check function:
pcap_findalldevs)</P>
<P>int i;<BR>int main()<BR>{<BR> pcap_if_t *alldevs;<BR> pcap_if_t
*d;<BR> char errbuf[PCAP_ERRBUF_SIZE+1];</P>
<P> for(i=0;i<10000;i++)<BR> {<BR> <BR> /*
Retrieve the device list */<BR> if(pcap_findalldevs(&alldevs,
errbuf) == -1)<BR> {<BR> fprintf(stderr,"Error in
pcap_findalldevs: %s\n",
errbuf);<BR> exit(1);<BR> }<BR> <BR> /*
Scan the list printing every entry
*/<BR> for(d=alldevs;d;d=d->next)<BR> {<BR> // ifprint(d);<BR> }</P>
<P> /* Free the device list
*/<BR> pcap_freealldevs(alldevs);</P>
<P> printf("\ni=%d",i);<BR> printf("\nPress any key and
see Windows Task Manager\nyou will see memory of this process is
increased");<BR> getch();<BR> <BR> }</P>
<P> return 1;<BR>}</P>
<P><BR>Please check this problem!<BR>Thanks!</P>
<P>
<HR SIZE=1>
<A href="http://us.rd.yahoo.com/evt=34442/*http://www.yahoo.com/r/hs">Start
your day with Yahoo! - make it your home page </A>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>