mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-01 11:29:27 -05:00
don't free officially dummy values
This commit is contained in:
parent
d1143204b2
commit
cf31d48665
1 changed files with 3 additions and 1 deletions
|
|
@ -46,7 +46,9 @@ attr_free( Attribute *a )
|
|||
if ( a->a_nvals && a->a_nvals != a->a_vals ) {
|
||||
ber_bvarray_free( a->a_nvals );
|
||||
}
|
||||
ber_bvarray_free( a->a_vals );
|
||||
if ( a->a_vals != &slap_dummy_bv ) {
|
||||
ber_bvarray_free( a->a_vals );
|
||||
}
|
||||
free( a );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue