[SCM] Samba Shared Repository - branch v3-5-test updated

Karolin Seeger kseeger at samba.org
Tue Mar 23 03:40:45 MDT 2010


The branch, v3-5-test has been updated
       via  75a0354... s3: Fix a bad memleak in winbind (cherry picked from commit 13400a6589a20452097bc338fa742d834bbd6a34)
      from  68ea976... s3: Fix bug 7202 for multi-threaded applications

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


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

    s3: Fix a bad memleak in winbind
    (cherry picked from commit 13400a6589a20452097bc338fa742d834bbd6a34)
    
    Fix bug #7278 (winbind has a bad memleak).

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

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 f3c2697..300c78e 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -644,7 +644,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