]> git.sur5r.net Git - openldap/commitdiff
fix entry deallocation
authorPierangelo Masarati <ando@openldap.org>
Thu, 11 Jan 2007 21:33:39 +0000 (21:33 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 11 Jan 2007 21:33:39 +0000 (21:33 +0000)
servers/slapd/back-ldap/search.c

index cc10b655729a010bb6bb8c2ec6393c2f74179796..b4774e53a76ba2adb35c2cf77b2968af83ad45fa 100644 (file)
@@ -805,7 +805,7 @@ retry:
        rc = ldap_build_entry( op, e, *ent, &bdn );
 
        if ( rc != LDAP_SUCCESS ) {
-               ch_free( *ent );
+               entry_free( *ent );
                *ent = NULL;
        }