[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-1372-g360436b

Volker Lendecke vlendec at samba.org
Thu Sep 3 23:54:22 MDT 2009


The branch, master has been updated
       via  360436b656fc2d939175ae740ecee98d44fadaec (commit)
      from  c298e660bd28140125f2ac6b47dff6d7c01e82ae (commit)

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


- Log -----------------------------------------------------------------
commit 360436b656fc2d939175ae740ecee98d44fadaec
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Sep 4 07:52:28 2009 +0200

    s3:winbind: Fix Coverity ID 940: Resource Leak

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

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


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 8d44d27..6d48fe5 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -2110,6 +2110,7 @@ NTSTATUS wcache_lookup_usergroups(struct winbindd_domain *domain,
 	num_sids = centry_uint32(centry);
 	sids = talloc_array(mem_ctx, struct dom_sid, num_sids);
 	if (sids == NULL) {
+		centry_free(centry);
 		return NT_STATUS_NO_MEMORY;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list