summaryrefslogtreecommitdiff
path: root/source3/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
commit1fd4184da7b1f17a1f89b5963a8ad80174847155 (patch)
tree5121b72a7a6341674663e153da3029ab6dede131 /source3/lib/ldb
parent16e98a60d1c70d9c6a07800a070c33c7ea438221 (diff)
downloadsamba-1fd4184da7b1f17a1f89b5963a8ad80174847155.tar.gz
samba-1fd4184da7b1f17a1f89b5963a8ad80174847155.tar.bz2
samba-1fd4184da7b1f17a1f89b5963a8ad80174847155.zip
r19485: Fix Coverity # 319
(This used to be commit d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb)
Diffstat (limited to 'source3/lib/ldb')
-rw-r--r--source3/lib/ldb/ldb_ldap/ldb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb/ldb_ldap/ldb_ldap.c b/source3/lib/ldb/ldb_ldap/ldb_ldap.c
index 410ad64b4a..a17e80cde0 100644
--- a/source3/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/source3/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;