From db082f4b1d11efbaa9670316206ade88b980cf50 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 20 Sep 2006 20:22:59 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/back-bdb/tools.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index 604471c57a..e16be3f66b 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -286,6 +286,7 @@ Entry* bdb_tool_entry_get( BackendDB *be, ID id ) eh.data += eoff; rc = cursor->c_get( cursor, &key, &data, DB_CURRENT ); + if ( rc ) goto leave; #ifdef SLAP_ZONE_ALLOC /* FIXME: will add ctx later */ -- 2.39.5