Fix memory smasher in slapi_valueset_free()

This commit is contained in:
Luke Howard 2006-02-27 03:44:40 +00:00
parent eb0bb62cbd
commit 8c674299bf

View File

@ -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 );
}
}