diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-06-14 10:04:23 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-06-14 10:04:23 +0000 |
commit | 92bd15ea71ef5db8934c870e03c8e4f0f0bd553b (patch) | |
tree | 79aaead287ecad3540209442c713195b9e3f8c64 /sbin | |
parent | a3de7d60356b91ad4fa41498aa0d21f54e6d6e42 (diff) |
added a missing message_free().
ok ho@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/message.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c index 08c1503445f..71e0004af35 100644 --- a/sbin/isakmpd/message.c +++ b/sbin/isakmpd/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.78 2004/06/14 09:55:41 ho Exp $ */ +/* $OpenBSD: message.c,v 1.79 2004/06/14 10:04:22 hshoexer Exp $ */ /* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */ /* @@ -515,6 +515,7 @@ message_validate_delete(struct message *msg, struct payload *p) /* Only accept authenticated DELETEs. */ if ((msg->flags & MSG_AUTHENTICATED) == 0) { log_print("message_validate_delete: got unauthenticated DELETE"); + message_free(msg); return -1; } |