summaryrefslogtreecommitdiffstats
path: root/ldap/servers
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers')
-rw-r--r--ldap/servers/slapd/mapping_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/servers/slapd/mapping_tree.c b/ldap/servers/slapd/mapping_tree.c
index 2b09f123..5087c373 100644
--- a/ldap/servers/slapd/mapping_tree.c
+++ b/ldap/servers/slapd/mapping_tree.c
@@ -2285,7 +2285,7 @@ unlock_and_return:
if (ret != LDAP_SUCCESS)
{
- if (be && !be_isdeleted(be))
+ if (be && *be && !be_isdeleted(*be))
{
slapi_be_Unlock(*be);
*be = NULL;