]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbclient: Allinfo leaves the file handle open.
authorJeremy Allison <jra@samba.org>
Tue, 10 Feb 2015 17:32:11 +0000 (09:32 -0800)
committerKarolin Seeger <kseeger@samba.org>
Sat, 21 Feb 2015 19:23:10 +0000 (20:23 +0100)
https://bugzilla.samba.org/show_bug.cgi?id=11094

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Feb 10 23:28:46 CET 2015 on sn-devel-104

(cherry picked from commit 080ec0f7d9735b27138deb5f91a397935f089f02)

source3/client/client.c

index 5d708970ad56238ab9f3142e568c4d345fa8ff24..1458cf299f88c02a523f8da130232f078270ef4f 100644 (file)
@@ -1816,6 +1816,7 @@ static int do_allinfo(const char *name)
        }
 
        TALLOC_FREE(snapshots);
+       cli_close(cli, fnum);
 
        return 0;
 }