From: Pierangelo Masarati Date: Mon, 1 Dec 2003 08:01:31 +0000 (+0000) Subject: this memory will be freed by free() X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~316 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c68cb41f635763e6a9a0a9dd0c12920c3b35663;p=openldap this memory will be freed by free() --- diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 973c7234b9..d1a68fcff4 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -550,7 +550,7 @@ ldap_build_entry( attr->a_desc->ad_type->sat_syntax, attr->a_desc->ad_type->sat_equality, &attr->a_vals[i], &attr->a_nvals[i], - op->o_tmpmemctx ); + NULL /* op->o_tmpmemctx */ ); } attr->a_nvals[i].bv_val = NULL; attr->a_nvals[i].bv_len = 0;