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

Jeremy Allison jra at samba.org
Tue Nov 9 17:53:26 MST 2010


The branch, v3-6-test has been updated
       via  2791ecb Fix memleak I accidently introduced when reading from tdb.
      from  067b040 Fix bug 7781 - Samba transforms ShareName to lowercase (sharename) when adding new share via MMC

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


- Log -----------------------------------------------------------------
commit 2791ecb6937bfc280280844829a1abd9477778fe
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Nov 9 16:53:45 2010 -0800

    Fix memleak I accidently introduced when reading from tdb.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/auth/user_util.c b/source3/auth/user_util.c
index 9ae81fd..d6c47a8 100644
--- a/source3/auth/user_util.c
+++ b/source3/auth/user_util.c
@@ -101,6 +101,7 @@ static bool fetch_map_from_gencache(TALLOC_CTX *ctx,
 	}
 	TALLOC_FREE(*p_user_out);
 	*p_user_out = talloc_strdup(ctx, value);
+	SAFE_FREE(value);
 	if (!*p_user_out) {
 		return false;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list