From: Pierangelo Masarati Date: Thu, 11 Jan 2007 21:33:39 +0000 (+0000) Subject: fix entry deallocation X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~194 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=78362d5acfd33ac05219bb7d26a235c2d80a8e19;p=openldap fix entry deallocation --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index cc10b65572..b4774e53a7 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -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; }