X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnetutl.c;h=df6401fe89678e77c0924cede6ab087feebe9793;hp=ce47c3e9b049892d4e20b00896c41f989d35bb1f;hb=ca6abd41ea0cdf2ca6491c3945fb3c62fd40ab98;hpb=4b076ee87fcf8aaf1d9a2bd3c27524b4e3840167 diff --git a/src/netutl.c b/src/netutl.c index ce47c3e9..df6401fe 100644 --- a/src/netutl.c +++ b/src/netutl.c @@ -42,7 +42,7 @@ conn_list_t *lookup_conn(ip_t ip) { conn_list_t *p = conn_list; -cp + /* Exact match suggested by James B. MacLean */ for(p = conn_list; p != NULL; p = p->next) if(ip == p->vpn_ip) @@ -81,8 +81,6 @@ void free_conn_element(conn_list_t *p) cp if(p->hostname) free(p->hostname); - if(p->pp) - free(p->pp); if(p->sq) destroy_queue(p->sq); if(p->rq)