The branch, master has been updated via e6f79b9 tevent: document tevent_req_create state zeroing from e322420 rpc_cli: Remove some unnecessary initializations
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit e6f79b94891c3fe432739a479fde753002500938 Author: David Disseldorp <dd...@samba.org> Date: Mon Jul 8 15:11:25 2013 +0200 tevent: document tevent_req_create state zeroing Signed-off-by: David Disseldorp <dd...@samba.org> Reviewed-by: Volker Lendecke <v...@samba.org> Autobuild-User(master): Volker Lendecke <v...@samba.org> Autobuild-Date(master): Mon Jul 8 20:43:49 CEST 2013 on sn-devel-104 ----------------------------------------------------------------------- Summary of changes: lib/tevent/tevent.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h index 6b4d371..2bc4e2d 100644 --- a/lib/tevent/tevent.h +++ b/lib/tevent/tevent.h @@ -919,9 +919,9 @@ bool _tevent_req_cancel(struct tevent_req *req, const char *location); * req = tevent_req_create(mem_ctx, &state, struct computation_state); * @endcode * - * Tevent_req_create() creates the state variable as a talloc child of - * its result. The state variable should be used as the talloc parent - * for all temporary variables that are allocated during the async + * Tevent_req_create() allocates and zeros the state variable as a talloc + * child of its result. The state variable should be used as the talloc + * parent for all temporary variables that are allocated during the async * computation. This way, when the user of the async computation frees * the request, the state as a talloc child will be free'd along with * all the temporary variables hanging off the state. -- Samba Shared Repository