From 3643d5fc16082dd22211b5446e4491fd1f34543b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 14 Apr 2004 17:47:53 +0000 Subject: [PATCH] cleanup --- servers/slapd/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index e0ddf3269d..4f66a95fe0 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -1873,7 +1873,7 @@ int slap_sasl_getdn( Connection *conn, Operation *op, struct berval *id, /* Run thru regexp */ slap_sasl2dn( op, dn, &dn2, flags ); - if( dn2.bv_val ) { + if( !BER_BVISNULL( &dn2 ) ) { sl_free( dn->bv_val, op->o_tmpmemctx ); *dn = dn2; #ifdef NEW_LOGGING -- 2.39.5