From d12bdb6133c1612b9d3e1a0c6692cbc4ab17fe32 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 24 Oct 2006 20:15:13 +0000 Subject: [PATCH] r19485: Fix Coverity # 319 --- source/lib/ldb/ldb_ldap/ldb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;