diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-05-24 11:57:02 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-05-24 18:16:37 +0200 |
commit | 0beede33a7034d63912bed301e3e7340f8d2ea86 (patch) | |
tree | 19dad193731e757e6dcdf25350fc214181878c0b /source4/smb_server | |
parent | b452fb30f79c5effa508b891bcb453de8f452286 (diff) | |
download | samba-0beede33a7034d63912bed301e3e7340f8d2ea86.tar.gz samba-0beede33a7034d63912bed301e3e7340f8d2ea86.tar.bz2 samba-0beede33a7034d63912bed301e3e7340f8d2ea86.zip |
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
Diffstat (limited to 'source4/smb_server')
-rw-r--r-- | source4/smb_server/smb/receive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/smb/receive.c b/source4/smb_server/smb/receive.c index b100757b55..3443834901 100644 --- a/source4/smb_server/smb/receive.c +++ b/source4/smb_server/smb/receive.c @@ -634,7 +634,7 @@ void smbsrv_chain_reply(struct smbsrv_request *req) /* cleanup somestuff for the next request */ DLIST_REMOVE(req->smb_conn->requests, req); - talloc_free(req->ntvfs); + talloc_unlink(req, req->ntvfs); req->ntvfs = NULL; talloc_free(req->io_ptr); req->io_ptr = NULL; |