From bac1aea2a5a5835bc7ec14572fa03d10e1afeb54 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 29 Aug 2005 09:48:07 +0000 Subject: [PATCH] fix previous commit --- servers/slapd/back-ldap/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5