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

Volker Lendecke vlendec at samba.org
Sun Nov 15 04:48:37 MST 2009


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 <vl at samba.org>
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


More information about the samba-cvs mailing list