Backport fixes from trunk since revision 1555.

This commit is contained in:
Guus Sliepen 2008-12-11 15:21:40 +00:00
parent 046158a216
commit 76165488f8
6 changed files with 47 additions and 9 deletions

View file

@ -294,7 +294,8 @@ begin:
}
if(!c->outgoing->aip) {
freeaddrinfo(c->outgoing->ai);
if(c->outgoing->ai)
freeaddrinfo(c->outgoing->ai);
c->outgoing->ai = NULL;
goto begin;
}