From: Pierangelo Masarati Date: Mon, 29 Aug 2005 09:48:07 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~541 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bac1aea2a5a5835bc7ec14572fa03d10e1afeb54;p=openldap fix previous commit --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 56daa3fdcd..213de64871 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -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 );