From abbf8efb24c3d079ff2f7e39b2bf8382efa2ad5c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 27 May 2010 18:12:30 +0200 Subject: s3: Fix a bad memleak in the async echo responder --- source3/smbd/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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, -- cgit