From a2c6a984270a536432d027a1b5f4830ae3f44176 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 24 Dec 2001 07:03:14 +0000 Subject: [PATCH] cannot assert la_private == NULL on free --- libraries/libldap/getdn.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.5