s3: smbd: Prevent valgrind errors in smbtorture3 POSIX test.
authorJeremy Allison <jra@samba.org>
Thu, 27 Sep 2018 21:12:47 +0000 (14:12 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 29 Sep 2018 03:32:41 +0000 (05:32 +0200)
commit660dbfaeff493359474ebdb36098ac49b3f7ba0c
tree056d88115af5380cc73d9cbf7f069b39c7369ce0
parent34cbd89fec836f5de0cb5ba3f289b1f4ae00c5d7
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
source3/smbd/close.c