]> 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>
Mon, 16 Feb 2015 22:20:50 +0000 (23:20 +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)

Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Mon Feb 16 23:20:50 CET 2015 on sn-devel-104

source3/client/client.c

index 20932cc4e0b3ad40b64020a220c6ae5c25e57c5a..00f8282153cca877a0984b39feb9cbf41dcac865 100644 (file)
@@ -1820,6 +1820,7 @@ static int do_allinfo(const char *name)
        }
 
        TALLOC_FREE(snapshots);
+       cli_close(cli, fnum);
 
        return 0;
 }