X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=a20de41f84ace1e5a89f911f6ae3415f697365dc;hp=c1030b5bb167fc6b921b16f63dbc6e51fd88f39a;hb=1ad2394b8468593030653bbfd0dee879fb711432;hpb=bc9e78250ef6fb5169d03565b7d8d9caf309eb98 diff --git a/src/net.c b/src/net.c index c1030b5b..a20de41f 100644 --- a/src/net.c +++ b/src/net.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.c,v 1.35.4.184 2003/04/03 11:43:17 guus Exp $ + $Id: net.c,v 1.35.4.185 2003/04/19 11:12:45 guus Exp $ */ #include "config.h" @@ -432,6 +432,7 @@ void main_loop(void) if(c->outgoing) { free(c->outgoing->name); + freeaddrinfo(c->outgoing->ai); free(c->outgoing); c->outgoing = NULL; }