From 1fd4184da7b1f17a1f89b5963a8ad80174847155 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 d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb) --- source3/lib/ldb/ldb_ldap/ldb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit