[SCM] Samba Shared Repository - branch v3-5-test updated
Jeremy Allison
jra at samba.org
Tue Jan 5 15:37:24 MST 2010
The branch, v3-5-test has been updated
via b635398... Fix bug #7020 - smbd using 2G memory.
from 65003db... s3: List trusted domains from wcache when domain is offline.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test
- Log -----------------------------------------------------------------
commit b63539809d022f7012f4899a5a18a835079d6c6f
Author: Jeremy Allison <jra at samba.org>
Date: Tue Jan 5 14:34:00 2010 -0800
Fix bug #7020 - smbd using 2G memory.
When deferring an async pipe writeX and readX transfer
the outstanding request struct onto the conn struct. This
needs freeing after the packet is finally processed.
Jeremy.
(cherry picked from commit f6bd654a6c878111f0f0f4d07adb644fc3bbf224)
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/pipes.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index bf64c59..9bc3fdf 100644
--- a/source3/smbd/pipes.c
+++ b/source3/smbd/pipes.c
@@ -353,6 +353,11 @@ static void pipe_write_andx_done(struct tevent_req *subreq)
done:
chain_reply(req);
+ /*
+ * We must free here as the ownership of req was
+ * moved to the connection struct in reply_pipe_write_and_X().
+ */
+ TALLOC_FREE(req);
}
/****************************************************************************
@@ -458,4 +463,9 @@ static void pipe_read_andx_done(struct tevent_req *subreq)
done:
chain_reply(req);
+ /*
+ * We must free here as the ownership of req was
+ * moved to the connection struct in reply_pipe_read_and_X().
+ */
+ TALLOC_FREE(req);
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list