From 3c748714bb2a81004673db8a77ea5699f3cc73d0 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 21 Oct 2010 10:28:32 +0200 Subject: ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104 --- source4/lib/ldb/common/ldb_modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') 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; } -- cgit