NULL out spurious text (ITS#5688)

This commit is contained in:
Pierangelo Masarati 2008-09-06 00:00:37 +00:00
parent d39c2f7eff
commit 55cb219adc
2 changed files with 2 additions and 0 deletions

View file

@ -111,6 +111,7 @@ get_ava(
Debug( LDAP_DEBUG_FILTER,
"get_ava: illegal value for attributeType %s\n", type.bv_val, 0, 0 );
ber_dupbv_x( &aa->aa_value, &value, op->o_tmpmemctx );
*text = NULL;
rc = LDAP_SUCCESS;
}

View file

@ -478,6 +478,7 @@ return_error:
return rc;
}
*text = NULL;
rc = LDAP_SUCCESS;
}