]> git.sur5r.net Git - openldap/commitdiff
this memory will be freed by free()
authorPierangelo Masarati <ando@openldap.org>
Mon, 1 Dec 2003 08:01:31 +0000 (08:01 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 1 Dec 2003 08:01:31 +0000 (08:01 +0000)
servers/slapd/back-ldap/search.c

index 973c7234b943854d705c0b2ffec3ebe12e0eacbb..d1a68fcff4703b96190d14b2f65624b925a0dedf 100644 (file)
@@ -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;