- if( i < 1 ) return NULL;
-
- refs = SLAP_MALLOC( (i+1) * sizeof( struct berval ) );
- if( refs == NULL ) {
-#ifdef NEW_LOGGING
- LDAP_LOG( OPERATION, CRIT,
- "referral_rewrite: SLAP_MALLOC failed\n", 0, 0, 0 );
-#else
- Debug( LDAP_DEBUG_ANY,
- "referral_rewrite: SLAP_MALLOC failed\n", 0, 0, 0 );
-#endif