Full_Name: Christian Lorenz Version: 2.0-devel OS: linux-2.2.14 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (195.243.113.230) I've debugged with YAMD and found a memory leak in get_ava(). I am not sure about the patch, please verify. pkg/ldap/servers/slapd/ava.c,v 1.19 =================================== --- ldap/servers/slapd/ava.c.orig Tue Jul 4 18:44:55 2000 +++ ldap/servers/slapd/ava.c Tue Jul 4 18:45:15 2000 @@ -63,9 +63,9 @@ rc = value_normalize( aa->aa_desc, usage, &value, &nvalue, text ); ch_free( value.bv_val ); + ch_free( type.bv_val ); if( rc != LDAP_SUCCESS ) { - ch_free( type.bv_val ); ad_free( aa->aa_desc, 1 ); ch_free( aa ); return rc;
Fixed, thanks.
changed state Open to Closed moved from Incoming to Development