projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright information.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
c4c9fd4
..
53c0fd0
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-1,6
+1,6
@@
/*
connection.c -- connection list management
/*
connection.c -- connection list management
- Copyright (C) 2000-200
6
Guus Sliepen <guus@tinc-vpn.org>,
+ Copyright (C) 2000-200
7
Guus Sliepen <guus@tinc-vpn.org>,
2000-2005 Ivo Timmermans
This program is free software; you can redistribute it and/or modify
2000-2005 Ivo Timmermans
This program is free software; you can redistribute it and/or modify
@@
-78,6
+78,9
@@
void free_connection(connection_t *c)
{
cp();
{
cp();
+ if(c->name)
+ free(c->name);
+
if(c->hostname)
free(c->hostname);
if(c->hostname)
free(c->hostname);