[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4167-g508cd21

Karolin Seeger kseeger at samba.org
Thu Sep 25 14:18:30 GMT 2008


The branch, v3-3-test has been updated
       via  508cd214ef9abf0d69fbc7f5408d004162092b39 (commit)
      from  41887550fbacae887d9ad28559cc8bdcc6ac84ac (commit)

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


- Log -----------------------------------------------------------------
commit 508cd214ef9abf0d69fbc7f5408d004162092b39
Author: Stefan Metzmacher <metze at samba.org>
Date:   Wed Sep 24 18:52:04 2008 -0700

    s3:lib/ldb: Don't return already freed pointer on error.
    
    metze
    
    Signed-off-by: Karolin Seeger <kseeger at samba.org>

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

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


Changeset truncated at 500 lines:

diff --git a/source/lib/ldb/common/ldb.c b/source/lib/ldb/common/ldb.c
index 743711b..c8aa6af 100644
--- a/source/lib/ldb/common/ldb.c
+++ b/source/lib/ldb/common/ldb.c
@@ -787,6 +787,7 @@ int ldb_search(struct ldb_context *ldb,
 done:
 	if (ret != LDB_SUCCESS) {
 		talloc_free(res);
+		res = NULL;
 	}
 
 	*_res = res;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list