From: Pierangelo Masarati Date: Sat, 22 Jan 2005 12:27:45 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~282 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=066829a870a79c611303106da4f46837cdf12caa;p=openldap fix previous commit --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 43018f39db..105dffe4f9 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -1439,7 +1439,7 @@ backend_attribute( rc = backend_operational( op, &rs ); - if ( rc == LDAP_SUCCESS ) { + if ( rc == LDAP_SUCCESS && rs.sr_operational_attrs ) { freeattr = 1; a = rs.sr_operational_attrs; }