diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-03-19 23:52:25 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-04-02 21:26:07 +0200 |
commit | 6865241fdde71c5f7bbe85b3b88cb57ca14578b2 (patch) | |
tree | 2638a6de3eaf44e04c0d6deafef33b0fc6eb52f7 /source4/smb_server/smb | |
parent | 831a97c147c6231397c51500bd44c1c3d3f83f19 (diff) | |
download | samba-6865241fdde71c5f7bbe85b3b88cb57ca14578b2.tar.gz samba-6865241fdde71c5f7bbe85b3b88cb57ca14578b2.tar.bz2 samba-6865241fdde71c5f7bbe85b3b88cb57ca14578b2.zip |
s4:smb_server/smb: remove a request from the list before adding the next one in a chain.
metze
Diffstat (limited to 'source4/smb_server/smb')
-rw-r--r-- | source4/smb_server/smb/receive.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/smb/receive.c b/source4/smb_server/smb/receive.c index 8e3bab8000..b100757b55 100644 --- a/source4/smb_server/smb/receive.c +++ b/source4/smb_server/smb/receive.c @@ -633,6 +633,7 @@ void smbsrv_chain_reply(struct smbsrv_request *req) SSVAL(req->out.vwv, VWV(1), req->out.size - NBT_HDR_SIZE); /* cleanup somestuff for the next request */ + DLIST_REMOVE(req->smb_conn->requests, req); talloc_free(req->ntvfs); req->ntvfs = NULL; talloc_free(req->io_ptr); |