[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Mon Mar 22 09:48:22 MDT 2010


The branch, master has been updated
       via  13400a6... s3: Fix a bad memleak in winbind
      from  dd11180... s4:registry - "RPC backend" - use "talloc_steal" and not "talloc_reference"

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 13400a6589a20452097bc338fa742d834bbd6a34
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Mar 22 15:29:19 2010 +0100

    s3: Fix a bad memleak in winbind

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/winbindd.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index afb1ba5..b04fd5d 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -668,7 +668,8 @@ static void wb_request_done(struct tevent_req *req)
 		req, struct winbindd_cli_state);
 	NTSTATUS status;
 
-	state->response = talloc_zero(state, struct winbindd_response);
+	state->response = talloc_zero(state->mem_ctx,
+				      struct winbindd_response);
 	if (state->response == NULL) {
 		DEBUG(0, ("wb_request_done[%d:%s]: talloc_zero failed - removing client\n",
 			  (int)state->pid, state->cmd_name));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list