diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2021-11-06 11:13:39 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-11-06 11:56:09 +0100 |
commit | eb1f63195a9a38b519536a5b398d9939261ec081 (patch) | |
tree | 2b7b0bc0b4d1ed1565b8d113c9cf38d09e0adadf /sftp-client.c | |
parent | upstream: move cert_filter_principals() to earlier in the file for (diff) | |
download | openssh-eb1f63195a9a38b519536a5b398d9939261ec081.tar.xz openssh-eb1f63195a9a38b519536a5b398d9939261ec081.zip |
upstream: Plug a couple of minor mem leaks. From beldmit at
gmail.com via github PR#283, ok markus@
OpenBSD-Commit-ID: ec1fa7d305d46226861c3ca6fb9c9beb2ada2892
Diffstat (limited to 'sftp-client.c')
-rw-r--r-- | sftp-client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sftp-client.c b/sftp-client.c index f80113ed6..6c33a836d 100644 --- a/sftp-client.c +++ b/sftp-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-client.c,v 1.156 2021/10/24 21:24:17 deraadt Exp $ */ +/* $OpenBSD: sftp-client.c,v 1.157 2021/11/06 10:13:39 dtucker Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> * @@ -2195,6 +2195,7 @@ handle_dest_replies(struct sftp_conn *to, const char *to_path, int synchronous, (*nreqsp)--; } debug3_f("done: %u outstanding replies", *nreqsp); + sshbuf_free(msg); } int |