git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fce4c32
)
s3: Fix a bad memleak in the async echo responder
author
Volker Lendecke
<vl@samba.org>
Thu, 27 May 2010 16:12:30 +0000
(18:12 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 27 May 2010 16:18:37 +0000
(18:18 +0200)
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index 36640cb3b59f7a5f1ebf3db6411cf0abdba82434..e13d6fda1fff04dcbc8bc2587062513314365c82 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-2366,7
+2366,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,