precautionary measures
This commit is contained in:
@@ -439,7 +439,7 @@ METHOD(pa_tnc_attr_t, destroy, void,
|
||||
{
|
||||
if (ref_put(&this->ref))
|
||||
{
|
||||
this->evidence->destroy(this->evidence);
|
||||
DESTROY_IF(this->evidence);
|
||||
free(this->value.ptr);
|
||||
free(this);
|
||||
}
|
||||
|
||||
@@ -275,7 +275,7 @@ METHOD(pa_tnc_attr_t, destroy, void,
|
||||
{
|
||||
if (ref_put(&this->ref))
|
||||
{
|
||||
this->metadata->destroy(this->metadata);
|
||||
DESTROY_IF(this->metadata);
|
||||
free(this->value.ptr);
|
||||
free(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user