Fix destruction of tcg_pts_attr_file_meas_t when building from encoding
This commit is contained in:
@@ -223,7 +223,7 @@ METHOD(pa_tnc_attr_t, destroy, void,
|
|||||||
{
|
{
|
||||||
if (ref_put(&this->ref))
|
if (ref_put(&this->ref))
|
||||||
{
|
{
|
||||||
this->measurements->destroy(this->measurements);
|
DESTROY_IF(this->measurements);
|
||||||
free(this->value.ptr);
|
free(this->value.ptr);
|
||||||
free(this);
|
free(this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user