summaryrefslogtreecommitdiff
path: root/source4/lib
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 14:24:37 -0500
commit3cee746a3f23f1040daa60d1208145bff87b3d01 (patch)
tree91a334e5992a59d392d73eddf977a199994b96e1 /source4/lib
parent7c95ae3acacda2ff1772c9c2500e57f83ca7a507 (diff)
downloadsamba-3cee746a3f23f1040daa60d1208145bff87b3d01.tar.gz
samba-3cee746a3f23f1040daa60d1208145bff87b3d01.tar.bz2
samba-3cee746a3f23f1040daa60d1208145bff87b3d01.zip
r19485: Fix Coverity # 319
(This used to be commit d12bdb6133c1612b9d3e1a0c6692cbc4ab17fe32)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/ldb_ldap/ldb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
index 410ad64b4a..a17e80cde0 100644
--- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/source4/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;