diff options
author | Giovanni Bechis <giovanni@cvs.openbsd.org> | 2015-03-24 08:44:05 +0000 |
---|---|---|
committer | Giovanni Bechis <giovanni@cvs.openbsd.org> | 2015-03-24 08:44:05 +0000 |
commit | a20ccefaf95e5c94bbb2ac22d75a81b5a62f821c (patch) | |
tree | 413fcc25ecc1de1a1dccdf34ecdbdbe0af64927c /usr.sbin/relayd | |
parent | 216c49b3fadb0fa61e987c7aa3ad4280ae0a2ccb (diff) |
Missing free(3) in error path
ok benno@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r-- | usr.sbin/relayd/ssl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/relayd/ssl.c b/usr.sbin/relayd/ssl.c index 815957939e3..0697857d4c2 100644 --- a/usr.sbin/relayd/ssl.c +++ b/usr.sbin/relayd/ssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.c,v 1.28 2015/01/22 17:42:09 reyk Exp $ */ +/* $OpenBSD: ssl.c,v 1.29 2015/03/24 08:44:04 giovanni Exp $ */ /* * Copyright (c) 2007 - 2014 Reyk Floeter <reyk@openbsd.org> @@ -454,6 +454,7 @@ ssl_load_pkey(const void *data, size_t datalen, char *buf, off_t len, EVP_PKEY_free(pkey); if (x509 != NULL) X509_free(x509); + free(exdata); return (0); } |