X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.c;h=8164cb4bba029aad06c9b32ba97f38cfc53a427e;hb=33d6de0cd5c05cbf37211924a45e4231fec3a416;hp=c1acfeab1c4cbafc4cbe8dbc5e14d1ebc8dd91b7;hpb=34f9e6cf2d6d2b81eb63f9f28963b447a2157740;p=tinc diff --git a/src/connection.c b/src/connection.c index c1acfeab..8164cb4b 100644 --- a/src/connection.c +++ b/src/connection.c @@ -17,13 +17,14 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connection.c,v 1.1.2.10 2001/03/04 13:59:25 guus Exp $ + $Id: connection.c,v 1.1.2.12 2001/06/29 13:09:55 guus Exp $ */ #include "config.h" #include #include +#include #include #include @@ -88,7 +89,7 @@ void free_connection(connection_t *p) cp if(p->queue) list_delete_list(p->queue); - if(p->name && p->name!=unknown) + if(p->name) free(p->name); if(p->hostname) free(p->hostname);