mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3: smbd: Remove dptr_close() from reply_findclose().
Now we're handle-based close_file() already does what is needed to shut down directory enumeration. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
779dd3f1e6
commit
a8ca5dc467
@ -9727,7 +9727,7 @@ void reply_findclose(struct smb_request *req)
|
||||
dptr_closecnum(req->conn);
|
||||
} else {
|
||||
fsp = dptr_fetch_lanman2_fsp(sconn, dptr_num);
|
||||
dptr_close(sconn, &dptr_num);
|
||||
dptr_num = -1;
|
||||
if (fsp != NULL) {
|
||||
close_file(NULL, fsp, NORMAL_CLOSE);
|
||||
fsp = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user