summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-05-27 18:12:30 +0200
committerVolker Lendecke <vl@samba.org>2010-05-27 18:15:19 +0200
commitabbf8efb24c3d079ff2f7e39b2bf8382efa2ad5c (patch)
tree4e9f4e48231cd5983854e5f37bb16b223b4d6997 /source3/smbd
parenteff13393b32d35d84f7afb564df5c7df8af58445 (diff)
downloadsamba-abbf8efb24c3d079ff2f7e39b2bf8382efa2ad5c.tar.gz
samba-abbf8efb24c3d079ff2f7e39b2bf8382efa2ad5c.tar.bz2
samba-abbf8efb24c3d079ff2f7e39b2bf8382efa2ad5c.zip
s3: Fix a bad memleak in the async echo responder
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 128a612a86..ed70b9cdd8 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2669,7 +2669,7 @@ static void smbd_echo_reader(struct tevent_context *ev,
DEBUG(10,("echo_handler[%d]: reading pdu\n", (int)sys_getpid()));
- status = receive_smb_talloc(state, smbd_server_fd(),
+ status = receive_smb_talloc(state->pending, smbd_server_fd(),
(char **)(void *)&state->pending[num_pending].iov_base,
0 /* timeout */,
&unread,