From: Howard Chu Date: Wed, 20 Sep 2006 20:22:59 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~115 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db082f4b1d11efbaa9670316206ade88b980cf50;p=openldap Fix prev commit --- 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 */