{
PADDRINFOA NextInfo;
/* Loop the chain of structures */for (NextInfo = AddrInfo; NextInfo; NextInfo = AddrInfo)
{
/* Check if there is a canonical name */if (NextInfo->ai_canonname)
{
/* Free it */HeapFree(WsSockHeap, 0, NextInfo->ai_canonname);
}
/* Check if there is an address */if (NextInfo->ai_addr)
{
/* Free it */HeapFree(WsSockHeap, 0, NextInfo->ai_addr);
}
/* Move to the next entry */AddrInfo = NextInfo->ai_next;
/* Free this entry */HeapFree(WsSockHeap, 0, NextInfo);
}
}
Generated on Fri May 25 2012 05:19:21 for ReactOS by
1.7.6.1
ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.