The branch, master has been updated
       via  f27774729e8c88615b9d3d25a85cae0a1fc35c4f (commit)
      from  0cf717512659469a9b293685ba2a6db4742dcff7 (commit)

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


- Log -----------------------------------------------------------------
commit f27774729e8c88615b9d3d25a85cae0a1fc35c4f
Author: Stefan Metzmacher <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>

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

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


Changeset truncated at 500 lines:

diff --git a/source3/lib/ldb/common/ldb.c b/source3/lib/ldb/common/ldb.c
index 743711b..c8aa6af 100644
--- a/source3/lib/ldb/common/ldb.c
+++ b/source3/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

Reply via email to