diff options
author | Jeremy Allison <jra@samba.org> | 2010-06-02 16:57:08 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-06-02 16:57:08 -0700 |
commit | cb1590e410a3b8fd366f4670786046566b5f4f9c (patch) | |
tree | 5bf0b1ced3236f43448f0ee1033e6b6e0647ec3f /source3 | |
parent | 53e465062249bc91e53eb8d5fa54034933a650af (diff) | |
download | samba-cb1590e410a3b8fd366f4670786046566b5f4f9c.tar.gz samba-cb1590e410a3b8fd366f4670786046566b5f4f9c.tar.bz2 samba-cb1590e410a3b8fd366f4670786046566b5f4f9c.zip |
Ensure we remove SMB2 cancel requests from the active queue
now we don't remove them in the talloc destructor.
Jeremy.
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/smb2_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 7a2a32a9dc..df2557080b 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -911,6 +911,7 @@ static NTSTATUS smbd_smb2_request_process_cancel(struct smbd_smb2_request *req) * we don't need the request anymore * cancel requests never have a response */ + DLIST_REMOVE(req->sconn->smb2.requests, req); TALLOC_FREE(req); for (cur = sconn->smb2.requests; cur; cur = cur->next) { |