diff options
author | 2004-01-19 21:25:15 +0000 | |
---|---|---|
committer | 2004-01-19 21:25:15 +0000 | |
commit | 3205e54a32637030a740caccf9aeaf642be0f1c2 (patch) | |
tree | b4ee75ae2ce00f9ba45eee544e570ad372fe6c57 /usr.bin/ssh/ssh-keysign.c | |
parent | Update comment; handling PFSYNC_ACT_UPD in pfsync_input() is no longer (diff) | |
download | wireguard-openbsd-3205e54a32637030a740caccf9aeaf642be0f1c2.tar.xz wireguard-openbsd-3205e54a32637030a740caccf9aeaf642be0f1c2.zip |
fix mem leaks; some fixes from Pete Flugstad; tested dtucker@
Diffstat (limited to 'usr.bin/ssh/ssh-keysign.c')
-rw-r--r-- | usr.bin/ssh/ssh-keysign.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-keysign.c b/usr.bin/ssh/ssh-keysign.c index 540660ed5e8..04650dcb2d0 100644 --- a/usr.bin/ssh/ssh-keysign.c +++ b/usr.bin/ssh/ssh-keysign.c @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: ssh-keysign.c,v 1.14 2003/11/17 09:45:39 djm Exp $"); +RCSID("$OpenBSD: ssh-keysign.c,v 1.15 2004/01/19 21:25:15 markus Exp $"); #include <openssl/evp.h> #include <openssl/rand.h> @@ -120,6 +120,7 @@ valid_request(struct passwd *pw, char *host, Key **ret, u_char *data, /* end of message */ if (buffer_len(&b) != 0) fail++; + buffer_free(&b); debug3("valid_request: fail %d", fail); |