diff options
-rw-r--r-- | sftp-client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sftp-client.c b/sftp-client.c index 4fb618190..72f7fff7a 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-client.c,v 1.134 2019/07/12 03:56:21 djm Exp $ */ | 1 | /* $OpenBSD: sftp-client.c,v 1.135 2019/10/04 04:31:59 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> | 3 | * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> |
4 | * | 4 | * |
@@ -631,8 +631,7 @@ do_lsreaddir(struct sftp_conn *conn, const char *path, int print_flag, | |||
631 | __func__, ssh_err(r)); | 631 | __func__, ssh_err(r)); |
632 | free(filename); | 632 | free(filename); |
633 | free(longname); | 633 | free(longname); |
634 | sshbuf_free(msg); | 634 | goto out; |
635 | return -1; | ||
636 | } | 635 | } |
637 | 636 | ||
638 | if (print_flag) | 637 | if (print_flag) |