diff options
-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) { |