s3: smbd: Prevent valgrind errors in smbtorture3 POSIX test.
commited962c85b194ef33c0084d1d344c90ef6b3848f9
authorJeremy Allison <jra@samba.org>
Thu, 27 Sep 2018 21:12:47 +0000 (27 14:12 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Oct 2018 09:29:24 +0000 (9 11:29 +0200)
tree588395eb95a474def40918d7268a3b21ecebd201
parent8d0fbe3ebb134bbf6cbdfdf86e0b0279ae8d1c73
s3: smbd: Prevent valgrind errors in smbtorture3 POSIX test.

Missing fsp talloc free and linked list delete in error
paths in close_directory(). Now matches close_normal_file()
and close_fake_file().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13633

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep 29 05:32:41 CEST 2018 on sn-devel-144

(cherry picked from commit 660dbfaeff493359474ebdb36098ac49b3f7ba0c)
source3/smbd/close.c