1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

s4:smb_server/smb: remove a request from the list before adding the next one in a chain.

metze
This commit is contained in:
Stefan Metzmacher 2012-03-19 23:52:25 +01:00
parent 831a97c147
commit 6865241fdd

View File

@ -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);