From: Jeremy Allison Date: Tue, 10 Feb 2015 17:32:11 +0000 (-0800) Subject: s3: smbclient: Allinfo leaves the file handle open. X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=0d5069f9c1fddc48019a773bd34708307dd1e401 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) Autobuild-User(v4-0-test): Karolin Seeger Autobuild-Date(v4-0-test): Mon Feb 16 23:13:45 CET 2015 on sn-devel-104 --- diff --git a/source3/client/client.c b/source3/client/client.c index a3a1d0a76871..842b3b6185fd 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -1812,6 +1812,7 @@ static int do_allinfo(const char *name) } TALLOC_FREE(snapshots); + cli_close(cli, fnum); return 0; }