mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-05 13:40:08 +08:00
Fix prev commit
This commit is contained in:
parent
e844a6956d
commit
598ef9e685
@ -187,7 +187,8 @@ attrs_free( Attribute *a )
|
||||
{
|
||||
Attribute *b;
|
||||
|
||||
for(b = a ; b != NULL ; b = b->a_next ) {
|
||||
if ( a ) {
|
||||
for(b = a ; ; b = b->a_next ) {
|
||||
attr_clean( b );
|
||||
if ( !b->a_next )
|
||||
break;
|
||||
@ -196,6 +197,7 @@ attrs_free( Attribute *a )
|
||||
b->a_next = attr_list;
|
||||
attr_list = a;
|
||||
ldap_pvt_thread_mutex_unlock( &attr_mutex );
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user