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