From: Jeremy Allison Date: Tue, 10 Feb 2015 17:32:11 +0000 (-0800) Subject: s3: smbclient: Allinfo leaves the file handle open. X-Git-Tag: samba-4.2.0rc5~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4f965deacc33e4186b77fb3ec61a209e7a5b7a8;p=thirdparty%2Fsamba.git s3: smbclient: Allinfo leaves the file handle open. https://bugzilla.samba.org/show_bug.cgi?id=11094 Signed-off-by: Jeremy Allison Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Tue Feb 10 23:28:46 CET 2015 on sn-devel-104 (cherry picked from commit 080ec0f7d9735b27138deb5f91a397935f089f02) --- diff --git a/source3/client/client.c b/source3/client/client.c index 5d708970ad5..1458cf299f8 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1816,6 +1816,7 @@ static int do_allinfo(const char *name) } TALLOC_FREE(snapshots); + cli_close(cli, fnum); return 0; }