fix previous commit

This commit is contained in:
Pierangelo Masarati 2005-08-29 09:48:07 +00:00
parent 7a85e25402
commit bac1aea2a5

View File

@ -457,7 +457,7 @@ finish:;
if ( rs->sr_matched != NULL ) {
if ( rs->sr_matched != match.bv_val ) {
ber_memfree_x( rs->sr_matched, op->o_tmpmemctx );
ber_memfree_x( (char *)rs->sr_matched, op->o_tmpmemctx );
} else {
LDAP_FREE( match.bv_val );