X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fconnlist.c;h=105049efd46a2a2b6c05598ed5c8ba16c1b075ff;hp=2965ced20a726180277eef5a2cb4030e1c17a9a5;hb=ed0bf283e37642f9f7673f664713a16d916bd70f;hpb=35932fe6c8cb481eb687f98424776ce429570c21 diff --git a/src/connlist.c b/src/connlist.c index 2965ced2..105049ef 100644 --- a/src/connlist.c +++ b/src/connlist.c @@ -17,12 +17,16 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: connlist.c,v 1.1.2.10 2000/10/29 00:02:17 guus Exp $ + $Id: connlist.c,v 1.1.2.13 2000/11/04 11:49:56 guus Exp $ */ +#include "config.h" + +#include #include #include "net.h" /* Don't ask. */ +#include "netutl.h" #include "config.h" #include "conf.h" #include @@ -64,6 +68,8 @@ cp free(p->cipher_pktkey); if(p->buffer) free(p->buffer); + if(p->config) + clear_config(&p->config); free(p); cp }