projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc9e782
)
Make sure outgoing_t is completely freed.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 19 Apr 2003 11:12:45 +0000
(11:12 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 19 Apr 2003 11:12:45 +0000
(11:12 +0000)
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index
c1030b5
..
a20de41
100644
(file)
--- 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.18
4 2003/04/03 11:43:17
guus Exp $
+ $Id: net.c,v 1.35.4.18
5 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;
}