Thanks Gianluca for quick and prompt reply.<br><br>
<div class="gmail_quote">On Mon, Aug 2, 2010 at 11:27 AM, Gianluca Varenni <span dir="ltr"><<a href="mailto:gianluca.varenni@cacetech.com">gianluca.varenni@cacetech.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" name="Compose message area">
<div><font face="Calibri">The memory gets freed when you close the adapter. </font></div>
<div><font face="Calibri"></font> </div>
<div><font face="Calibri">GV</font></div>
<div style="FONT: 10pt Tahoma">
<div><br></div>
<div style="BACKGROUND: #f5f5f5">
<div><b>From:</b> <a title="pushkartiwari@gmail.com" href="mailto:pushkartiwari@gmail.com" target="_blank">Pushkar Tiwari</a> </div>
<div><b>Sent:</b> Monday, August 02, 2010 11:20 AM</div>
<div><b>To:</b> <a title="winpcap-users@winpcap.org" href="mailto:winpcap-users@winpcap.org" target="_blank">winpcap-users@winpcap.org</a> </div>
<div><b>Subject:</b> [Winpcap-users] When does the memory allocated by PacketSetBuff getreleased?</div></div></div>
<div>
<div></div>
<div class="h5">
<div><br></div>
<div>Hi,</div>
<div>We are using PacketSetBuff API to allocate kernel buffer. Our implementation is based on the example provided in the Winpcap source.</div>
<div>I could not find any reference on releasing the buffer that gets allocated in the kernel. Does it get released on closing the adapter or do we need to clean it up explicitly?</div>
<div> </div>
<div>I have seen through winpcap source also, but could not find anything there also.</div>
<div> </div>
<div>Thanks,</div>
<div>Pushkar</div>
<div> </div></div></div>
<p>
<hr>
<p></p>_______________________________________________<br>Winpcap-users mailing list<br><a href="mailto:Winpcap-users@winpcap.org" target="_blank">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
<p></p></p></div><br>_______________________________________________<br>Winpcap-users mailing list<br><a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br><a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
<br></blockquote></div><br>