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

Jeremy Allison jra at samba.org
Mon Oct 12 16:31:31 MDT 2009


The branch, v3-5-test has been updated
       via  f1529c3... torture: fixed socket leak in BENCH-TCON test
      from  b7dfa5a... Ñ•3: fix domain trust documentation confusion

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


- Log -----------------------------------------------------------------
commit f1529c3223a4b366cd4795c559eaaa8c40078470
Author: Andrew Tridgell <tridge at samba.org>
Date:   Mon Oct 12 16:11:53 2009 +1100

    torture: fixed socket leak in BENCH-TCON test
    
    The BENCH-TCON test was leaving the socket open. A smbclie_tdis()
    closes the tree connection, but does not close the socket.
    
    This caused the build farm to run out of file descriptors

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

Summary of changes:
 source4/torture/raw/tconrate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/raw/tconrate.c b/source4/torture/raw/tconrate.c
index 076e5be..06cb765 100644
--- a/source4/torture/raw/tconrate.c
+++ b/source4/torture/raw/tconrate.c
@@ -112,6 +112,7 @@ static int fork_tcon_client(struct torture_context *tctx,
 		}
 
 		smbcli_tdis(cli);
+		talloc_free(cli);
 
 		*tcon_count = *tcon_count + 1;
 		now = timeval_current();


-- 
Samba Shared Repository


More information about the samba-cvs mailing list