summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-11-26 22:17:21 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-11-26 22:17:21 +0000
commit4d01ec47c26f496d60f3d7bb184643ea32e807d8 (patch)
tree2ef6c94f5d109628f4c3bf6c43ea9bba19147098 /sbin
parent420866b7dd1e402b7bf0132134f2c51e13ef018e (diff)
get rid of some leftovers from a cleanup during c2k5. From Andrey Matveev
<evol at online dot ptt dot ru>, thanks!
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/monitor.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c
index 9008de6e2fe..91c035f7b70 100644
--- a/sbin/isakmpd/monitor.c
+++ b/sbin/isakmpd/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.60 2005/06/13 13:32:59 millert Exp $ */
+/* $OpenBSD: monitor.c,v 1.61 2005/11/26 22:17:20 hshoexer Exp $ */
/*
* Copyright (c) 2003 Håkan Olsson. All rights reserved.
@@ -666,8 +666,6 @@ m_priv_setsockopt(void)
errout:
log_print("m_priv_setsockopt: read/write error");
- if (optval)
- free(optval);
if (sock >= 0)
close(sock);
}
@@ -713,8 +711,6 @@ m_priv_bind(void)
errout:
log_print("m_priv_bind: read/write error");
- if (name)
- free(name);
if (sock >= 0)
close(sock);
}