[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-126-g25bbc9a

Jeremy Allison jra at samba.org
Sat Oct 27 01:05:08 GMT 2007


The branch, v3-2-test has been updated
       via  25bbc9a6613bef0f3f73ecf634a38a9d56020f40 (commit)
      from  9993f8d1af23735f3a4b6de82f5825a6a6ba22d6 (commit)

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


- Log -----------------------------------------------------------------
commit 25bbc9a6613bef0f3f73ecf634a38a9d56020f40
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Oct 26 17:58:28 2007 -0700

    Ensure temporary memory is freed - pointed out by "Li, Ying (ESG)" <ying.li2 at hp.com>.
    We aren't currently leaking memory, but are leaving it around for
    longer than we need to.
    Jeremy.

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

Summary of changes:
 source/passdb/lookup_sid.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/passdb/lookup_sid.c b/source/passdb/lookup_sid.c
index e832779..43c86ff 100644
--- a/source/passdb/lookup_sid.c
+++ b/source/passdb/lookup_sid.c
@@ -880,6 +880,7 @@ NTSTATUS lookup_sids(TALLOC_CTX *mem_ctx, int num_sids,
 
 	*ret_domains = dom_infos;
 	*ret_names = name_infos;
+	TALLOC_FREE(tmp_ctx);
 	return NT_STATUS_OK;
 
  fail:


-- 
Samba Shared Repository


More information about the samba-cvs mailing list