]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/getdn.c
Fix attribute description checks
[openldap] / libraries / libldap / getdn.c
index c632f3ae6046364b7f46cf2357a425c2fa6a6a7b..7b6116e9c73d612eaf2f7445f729950e2616f725 100644 (file)
@@ -533,9 +533,9 @@ ldap_avafree( LDAPAVA *ava )
 
 #if 0
        /* la_attr is now contiguous with ava, not freed separately */
-       free( ava->la_attr.bv_val );
+       LDAP_FREE( ava->la_attr.bv_val );
 #endif
-       free( ava->la_value.bv_val );
+       LDAP_FREE( ava->la_value.bv_val );
 
        LDAP_FREE( ava );
 }