summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-21 10:28:32 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-21 09:28:19 +0000
commit3c748714bb2a81004673db8a77ea5699f3cc73d0 (patch)
tree39199647f0837f610fa6780d88606dccecfd58c5 /source4/lib/ldb
parent6c3e670f31beb5766b906e26ddc0c5d75b401137 (diff)
downloadsamba-3c748714bb2a81004673db8a77ea5699f3cc73d0.tar.gz
samba-3c748714bb2a81004673db8a77ea5699f3cc73d0.tar.bz2
samba-3c748714bb2a81004673db8a77ea5699f3cc73d0.zip
ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index b8f155d2f0..1b0f6f74f8 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;
}