diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-05-03 22:45:05 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-05-03 22:45:05 +0000 |
commit | b199979337d2b4be7a26b3e1b93d615cf7bd7e93 (patch) | |
tree | 01b9566ed938835c259457b445421b71b9fb522f /sbin/isakmpd | |
parent | b8dfc0adae5155c831bf674c7fdb31aac101eb82 (diff) |
Merge with EOM 1.133
author: niklas
Plug a message leak
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/message.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c index df6a41897a9..528bcf577ea 100644 --- a/sbin/isakmpd/message.c +++ b/sbin/isakmpd/message.c @@ -1,5 +1,5 @@ -/* $OpenBSD: message.c,v 1.19 1999/05/02 19:18:48 niklas Exp $ */ -/* $EOM: message.c,v 1.132 1999/05/02 12:55:03 niklas Exp $ */ +/* $OpenBSD: message.c,v 1.20 1999/05/03 22:45:04 niklas Exp $ */ +/* $EOM: message.c,v 1.133 1999/05/03 07:58:37 niklas Exp $ */ /* * Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. @@ -975,6 +975,7 @@ message_recv (struct message *msg) if (!msg->exchange) { log_print ("message_recv: phase 1 message after ISAKMP SA is ready"); + message_free (msg); return -1; } else if (msg->exchange->last_sent) |