]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Mon, 29 Aug 2005 09:48:07 +0000 (09:48 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 29 Aug 2005 09:48:07 +0000 (09:48 +0000)
servers/slapd/back-ldap/search.c

index 56daa3fdcd98793b953b655aa7a94555619617fa..213de648712559325c36dae08239d85ef45dd3db 100644 (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 );