summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2005-11-17 13:44:12 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2005-11-17 13:44:12 +0000
commitf585b1b1197a9f62767152a8faba70f63a598524 (patch)
treecc14ae52c7cbd3c6c125595ec3efc0f339b817ee /sbin/isakmpd
parent64c525ca92538bc07bd354d521b3aaddf2ea461e (diff)
add a free() which got lost in r1.104. ok hshoexer@ deraadt@
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/ike_auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c
index 5087c73ce89..b1d323b9fa4 100644
--- a/sbin/isakmpd/ike_auth.c
+++ b/sbin/isakmpd/ike_auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ike_auth.c,v 1.105 2005/11/14 23:25:11 deraadt Exp $ */
+/* $OpenBSD: ike_auth.c,v 1.106 2005/11/17 13:44:11 moritz Exp $ */
/* $EOM: ike_auth.c,v 1.59 2000/11/21 00:21:31 angelos Exp $ */
/*
@@ -692,6 +692,7 @@ rsa_sig_decode_hash(struct message *msg)
}
if (asprintf(&exchange->keynote_key, "rsa-hex:%s",
pp) == -1) {
+ free(pp);
kn_free_key(&dc);
log_print("rsa_sig_decode_hash: failed to asprintf()");
return -1;