summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-15 22:00:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:20 -0500
commitc8c023ea621bd926a515277f909a83206772670e (patch)
treea94a540d85a5b36610495acede107c060fe33e55 /source4/lib
parentf4fa06ca00e35a4a6409b778905f951001ac4477 (diff)
downloadsamba-c8c023ea621bd926a515277f909a83206772670e.tar.gz
samba-c8c023ea621bd926a515277f909a83206772670e.tar.bz2
samba-c8c023ea621bd926a515277f909a83206772670e.zip
r20191: fix bug found by the IBM checker
metze (This used to be commit 4c1e4bfeef8d93583b6d4345dbb1b8fa90368308)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_cache.c b/source4/lib/ldb/ldb_tdb/ldb_cache.c
index dbd5222ce5..55eeca56a4 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_cache.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_cache.c
@@ -312,7 +312,7 @@ int ltdb_cache_load(struct ldb_module *module)
struct ldb_dn *baseinfo_dn = NULL;
struct ldb_dn *indexlist_dn = NULL;
uint64_t seq;
- struct ldb_message *baseinfo;
+ struct ldb_message *baseinfo = NULL;
/* a very fast check to avoid extra database reads */
if (ltdb->cache != NULL &&