Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/kame/racoon plug memory leak. from ebisawa@iij....
details: https://anonhg.NetBSD.org/src/rev/8f745ad38797
branches: trunk
changeset: 534642:8f745ad38797
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Jul 31 07:01:26 2002 +0000
description:
plug memory leak. from ebisawa@iij. sync w/kame
diffstat:
crypto/dist/kame/racoon/isakmp.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 59d2e339a2d2 -r 8f745ad38797 crypto/dist/kame/racoon/isakmp.c
--- a/crypto/dist/kame/racoon/isakmp.c Wed Jul 31 07:00:22 2002 +0000
+++ b/crypto/dist/kame/racoon/isakmp.c Wed Jul 31 07:01:26 2002 +0000
@@ -1385,8 +1385,10 @@
for (p = lcconf->myaddrs; p; p = next) {
next = p->next;
- if (!p->addr)
+ if (!p->addr) {
+ racoon_free(p);
continue;
+ }
close(p->sock);
racoon_free(p->addr);
racoon_free(p);
Home |
Main Index |
Thread Index |
Old Index