diff options
author | Chad Loder <cloder@cvs.openbsd.org> | 2005-06-01 23:04:36 +0000 |
---|---|---|
committer | Chad Loder <cloder@cvs.openbsd.org> | 2005-06-01 23:04:36 +0000 |
commit | 17b758babf277598fc3f0689bb54995120066271 (patch) | |
tree | 9f32bba79f291b00c2e1041d350729e08321e20d /sbin/isakmpd | |
parent | 4c5d054584d613b6ffb682993f21f613ee01388b (diff) |
Fix memory leak. OK hshoexer
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/pf_key_v2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/pf_key_v2.c b/sbin/isakmpd/pf_key_v2.c index 3dfedca8003..0a60da71ad0 100644 --- a/sbin/isakmpd/pf_key_v2.c +++ b/sbin/isakmpd/pf_key_v2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_key_v2.c,v 1.165 2005/05/22 06:22:53 cloder Exp $ */ +/* $OpenBSD: pf_key_v2.c,v 1.166 2005/06/01 23:04:35 cloder Exp $ */ /* $EOM: pf_key_v2.c,v 1.79 2000/12/12 00:33:19 niklas Exp $ */ /* @@ -2476,6 +2476,7 @@ pf_key_v2_acquire(struct pf_key_v2_msg *pmsg) if (!ext) { log_print("pf_key_v2_acquire: " "no destination address specified"); + free(conn); return; } dst = ext->seg; |