[SCM] Samba Shared Repository - branch master updated

Matthias Dieter Wallnöfer mdw at samba.org
Thu Oct 21 03:29:01 MDT 2010


The branch, master has been updated
       via  3c74871 ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"
      from  6c3e670 waf: check the linker accepts a set of ldflags before using them

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


- Log -----------------------------------------------------------------
commit 3c748714bb2a81004673db8a77ea5699f3cc73d0
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date:   Thu Oct 21 10:28:32 2010 +0200

    ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"
    
    Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
    Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index b8f155d..1b0f6f7 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -320,8 +320,8 @@ static void *ldb_dso_load_symbol(struct ldb_context *ldb, const char *name,
 
 	sym = dlsym(handle, symbol);
 	if (sym == NULL) {
-		dlclose(handle);
 		ldb_debug(ldb, LDB_DEBUG_ERROR, "no symbol `%s' found in %s: %s", symbol, path, dlerror());
+		dlclose(handle);
 		return NULL;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list