s3: smbd: Prevent valgrind errors in smbtorture3 POSIX test.
commit1f634f328c46ac2dbfccbaf2efa52436299f4a3b
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 15:20:21 +0000 (9 17:20 +0200)
treed4890d8291c22ca84a78459483be5ca751c40221
parent629466ec5662248ffeba1faf7b7e6c9dbf46512f
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)

Autobuild-User(v4-7-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-7-test): Tue Oct  9 17:20:22 CEST 2018 on sn-devel-144
source3/smbd/close.c