From b7ab5074fae690b153f86a6cd89b17d0cd75862d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 30 May 2006 19:08:44 +0000 Subject: r15962: fix a crash when connect fails metze (This used to be commit 0540a5f220bac6f9b9782c22e23a0b19f9aa86cb) --- source4/torture/ldap/schema.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') diff --git a/source4/torture/ldap/schema.c b/source4/torture/ldap/schema.c index f6e19a1adb..51ff6f301f 100644 --- a/source4/torture/ldap/schema.c +++ b/source4/torture/ldap/schema.c @@ -500,6 +500,7 @@ BOOL torture_ldap_schema(struct torture_context *torture) NULL, cmdline_credentials, 0, NULL); + if (!ldb) goto failed; ret &= test_search_rootDSE(ldb, &rootDSE); if (!ret) goto failed; -- cgit