s4:torture/vfs/fruit: ensure a directory handle is closed in all code paths
authorRalph Boehme <slow@samba.org>
Wed, 31 Oct 2018 14:49:45 +0000 (15:49 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 31 Oct 2018 20:27:19 +0000 (21:27 +0100)
commitf7551d8fb3599a6a71dd0570bad02bdc48324107
treea688f81b244b3a3bd135d7a7e07324b5afcef017
parent125498861abeeed5bde727ff98d88d9ce4af6c75
s4:torture/vfs/fruit: ensure a directory handle is closed in all code paths

Otherwise we get a sharing violation when running against Samba and
opening the directory a second time.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13646

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/vfs/fruit.c