diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-06-04 21:54:56 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-06-04 21:54:56 +0000 |
commit | 5437863907cdd9ef36fb6589b69f48ed14e2820a (patch) | |
tree | ec107612b7456cee725cda27205c74ace7083d7a /sbin/isakmpd | |
parent | e24f4382ea104495d4d0d66741e90afa077d546a (diff) |
undo last commit, all memory is already freed by udp_remove()
ok cloder
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/udp.c | 3 | ||||
-rw-r--r-- | sbin/isakmpd/udp_encap.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sbin/isakmpd/udp.c b/sbin/isakmpd/udp.c index 8598be9d614..10aa6a3f40f 100644 --- a/sbin/isakmpd/udp.c +++ b/sbin/isakmpd/udp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp.c,v 1.89 2005/06/01 23:03:56 cloder Exp $ */ +/* $OpenBSD: udp.c,v 1.90 2005/06/04 21:54:55 hshoexer Exp $ */ /* $EOM: udp.c,v 1.57 2001/01/26 10:09:57 niklas Exp $ */ /* @@ -193,7 +193,6 @@ err: /* Already closed. */ t->s = -1; udp_remove(&t->transport); - free(t); } return 0; } diff --git a/sbin/isakmpd/udp_encap.c b/sbin/isakmpd/udp_encap.c index c0b7c211082..4ccea3de5bc 100644 --- a/sbin/isakmpd/udp_encap.c +++ b/sbin/isakmpd/udp_encap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp_encap.c,v 1.16 2005/06/01 23:03:56 cloder Exp $ */ +/* $OpenBSD: udp_encap.c,v 1.17 2005/06/04 21:54:55 hshoexer Exp $ */ /* * Copyright (c) 1998, 1999, 2001 Niklas Hallqvist. All rights reserved. @@ -197,7 +197,6 @@ err: /* Already closed. */ t->s = -1; udp_remove(&t->transport); - free(t); } return 0; } |