From 3cee746a3f23f1040daa60d1208145bff87b3d01 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 24 Oct 2006 20:15:13 +0000 Subject: r19485: Fix Coverity # 319 (This used to be commit d12bdb6133c1612b9d3e1a0c6692cbc4ab17fe32) --- source4/lib/ldb/ldb_ldap/ldb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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; -- cgit