<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">res0 is freed but keeps its value so there's access to freed memory in res->ai* in the call of inet_ntop if s < 0.<br>
</blockquote></div><div><br></div>Thanks.  I've commited the fix.<div><br>..wayne..<br>
</div>