From: Kurt Zeilenga Date: Mon, 24 Dec 2001 07:03:14 +0000 (+0000) Subject: cannot assert la_private == NULL on free X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~558 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2c6a984270a536432d027a1b5f4830ae3f44176;p=openldap cannot assert la_private == NULL on free --- diff --git a/libraries/libldap/getdn.c b/libraries/libldap/getdn.c index 649761ffae..4d4b29133c 100644 --- a/libraries/libldap/getdn.c +++ b/libraries/libldap/getdn.c @@ -522,8 +522,10 @@ ldap_avafree( LDAPAVA *ava ) { assert( ava ); +#if 0 /* ava's private must be freed by caller */ assert( ava->la_private != NULL ); +#endif ber_bvfree( ava->la_attr ); ber_bvfree( ava->la_value );