The branch, master has been updated
       via  bf4e8ba... s3: Fix a memleak in sys_popen
      from  8e320ae... s4:ldap.py - Deactivates some at the moment pointless 
test parts

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


- Log -----------------------------------------------------------------
commit bf4e8ba0485ca36a0a9db48d4cd7f133b848f1d4
Author: Volker Lendecke <[email protected]>
Date:   Sat Nov 14 17:23:08 2009 +0100

    s3: Fix a memleak in sys_popen
    
    Found with "dfree command" set

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

Summary of changes:
 source3/lib/system.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/system.c b/source3/lib/system.c
index f9cd4a2..4331691 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -1289,6 +1289,7 @@ static char **extract_args(TALLOC_CTX *mem_ctx, const 
char *command)
        }
 
        argl[i++] = NULL;
+       TALLOC_FREE(trunc_cmd);
        return argl;
 
  nomem:


-- 
Samba Shared Repository

Reply via email to