mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
s4:smb_server/smb: fix talloc_free() bug
ERROR: talloc_free with references at ../source4/smb_server/smb/receive.c:637 reference at ../source4/ntvfs/posix/pvfs_wait.c:86 metze
This commit is contained in:
parent
b452fb30f7
commit
0beede33a7
@ -634,7 +634,7 @@ void smbsrv_chain_reply(struct smbsrv_request *req)
|
|||||||
|
|
||||||
/* cleanup somestuff for the next request */
|
/* cleanup somestuff for the next request */
|
||||||
DLIST_REMOVE(req->smb_conn->requests, req);
|
DLIST_REMOVE(req->smb_conn->requests, req);
|
||||||
talloc_free(req->ntvfs);
|
talloc_unlink(req, req->ntvfs);
|
||||||
req->ntvfs = NULL;
|
req->ntvfs = NULL;
|
||||||
talloc_free(req->io_ptr);
|
talloc_free(req->io_ptr);
|
||||||
req->io_ptr = NULL;
|
req->io_ptr = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user