The branch, v3-5-test has been updated
       via  375a879... s3: Fix a memleak in sys_popen
      from  160787d... s3:fix a comment typo

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


- Log -----------------------------------------------------------------
commit 375a8798131c55f1b65d6feef810513ed384dbf2
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