diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/close.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 788b0a7cec..1f2e4604c2 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -753,6 +753,10 @@ static NTSTATUS close_directory(struct smb_request *req, files_struct *fsp, strerror(errno))); } + if (fsp->dptr) { + dptr_CloseDir(fsp->dptr); + } + /* * Do the code common to files and directories. */ |