From 066829a870a79c611303106da4f46837cdf12caa Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 22 Jan 2005 12:27:45 +0000 Subject: [PATCH] fix previous commit --- servers/slapd/backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5