mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix memory smasher in slapi_valueset_free()
This commit is contained in:
parent
eb0bb62cbd
commit
8c674299bf
@ -2460,9 +2460,9 @@ void slapi_valueset_free(Slapi_ValueSet *vs)
|
||||
BerVarray vp = *vs;
|
||||
|
||||
ber_bvarray_free( vp );
|
||||
slapi_ch_free( (void **)&vp );
|
||||
vp = NULL;
|
||||
|
||||
*vs = NULL;
|
||||
slapi_ch_free( (void **)&vp );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user