summaryrefslogtreecommitdiffstats
path: root/source/lib/ldb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-10-24 20:15:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:38 -0500
commitd9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb (patch)
tree3251af46085688d82bdc38a4eaeebefe307ca499 /source/lib/ldb
parentc3f860e55da8877131f149ca213b311c215e8a6e (diff)
downloadsamba-d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb.tar.gz
samba-d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb.tar.xz
samba-d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb.zip
r19485: Fix Coverity # 319
Diffstat (limited to 'source/lib/ldb')
-rw-r--r--source/lib/ldb/ldb_ldap/ldb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/ldb/ldb_ldap/ldb_ldap.c b/source/lib/ldb/ldb_ldap/ldb_ldap.c
index 410ad64b4ad..a17e80cde02 100644
--- a/source/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/source/lib/ldb/ldb_ldap/ldb_ldap.c
@@ -817,7 +817,7 @@ static int lldb_connect(struct ldb_context *ldb,
}
*module = talloc(ldb, struct ldb_module);
- if (!module) {
+ if (*module == NULL) {
ldb_oom(ldb);
talloc_free(lldb);
return -1;